datasette-llm
A bridge plugin for Datasette that connects Datasette with Simon Willison's LLM command-line toolchain. The plugin allows Datasette Agent to automatically inherit the default model configured in the LLM toolchain.
Core Facts
Timeline (last 90 days)
Using `datasette llm`, you can set the OpenAI API key with the command `datasette llm keys set openai`.
The release of datasette-llm 0.2a0 means that datasette-llm has shifted from being only indirectly included as a library to actively providing a CLI subcommand.
The `datasette llm` subcommand works by calling the internally installed LLM library and does not depend on an external `llm` executable.
The 'a' in Datasette 1.0a46 stands for alpha, meaning 1.0 is still in the pre-release stage.
datasette-llm 0.1a11 is still an alpha version at the 0.1a stage, and its interfaces and configuration approach may continue to change.
Datasette's -s / --setting syntax writes configuration by dotted path, with a JSON value after the equals sign, and can override settings such as plugins.datasette-llm.default_model.
With support for OpenAI-compatible endpoints, the adaptation cost for plugin developers drops from writing one set for each of N inference frameworks to writing just one set.
datasette-llm version 0.1a11 adds support for OpenAI-compatible endpoints, allowing services that implement the OpenAI Web protocol to be configured as backend models.
The core of this fix is to make the model list read strictly from the configuration, which is a typical implementation of the "default deny, explicit allow" security principle in an LLM gateway scenario.
datasette-llm 0.1a10 fixed a bug that caused the set of available LLM models to not be correctly restricted to the models specified in the configuration.
7 more timeline events
All Facts (16)
The 'a' in datasette-llm 0.1a7 stands for the alpha stage, following Python's PEP 440 versioning specification.
65%UnverifiedThe release of datasette-llm 0.2a0 means that datasette-llm has shifted from being only indirectly included as a library to actively providing a CLI subcommand.
50%UnverifiedThe `datasette llm` subcommand works by calling the internally installed LLM library and does not depend on an external `llm` executable.
50%UnverifiedUsing `datasette llm`, you can set the OpenAI API key with the command `datasette llm keys set openai`.
50%UnverifiedThe 'a' in Datasette 1.0a46 stands for alpha, meaning 1.0 is still in the pre-release stage.
50%UnverifiedDatasette's -s / --setting syntax writes configuration by dotted path, with a JSON value after the equals sign, and can override settings such as plugins.datasette-llm.default_model.
50%UnverifiedWith support for OpenAI-compatible endpoints, the adaptation cost for plugin developers drops from writing one set for each of N inference frameworks to writing just one set.
50%UnverifiedThis issue was fixed by PR #11.
50%UnverifiedThe core of the fix is to ensure that the model list is read strictly from the configuration, preventing unauthorized access.
50%UnverifiedThe core of this fix is to make the model list read strictly from the configuration, which is a typical implementation of the "default deny, explicit allow" security principle in an LLM gateway scenario.
50%Unverifieddatasette-llm 0.1a10 fixed a bug that caused the set of available LLM models to not be correctly restricted to the models specified in the configuration.
50%UnverifiedThis bug affected the agent.datasette.io demo site.
50%UnverifiedAfter 0.1a9, starting Datasette Agent no longer requires additionally declaring the model; the plugin directly adopts LLM's default model setting.
50%UnverifiedThe datasette-llm 0.1a9 version did not introduce new features, but instead lets the plugin automatically read the default model already configured in the LLM toolchain.
50%UnverifiedBefore 0.1a9, running Datasette Agent required manually passing the model parameter, for example `-s plugins.datasette-agent.default_model gpt-6-astra`.
50%UnverifiedThe configuration convergence reflects the design orientation of "unified management of default values" in Datasette's plugin system: LLM's default model becomes the single source of truth for the entire chain.
50%