Repository navigation
0.6a0
Pre-release
Pre-release
- The Datasette homepage now has a "Datasette Agent" section with a chat box for starting a new conversation, shown to users with the
datasette-agentpermission. - Type
#to tag tables, views, databases and stored queries in the homepage chat box and in the agent chat box in the "Jump to" menu, the same as on/-/agent. datasette agent chatnow accepts-c/--configto load a Datasette JSON or YAML configuration file, and a repeatable-s/--settingoption for individual settings, both working the same way as indatasette serve.-moverrides adefault_modelset using either. #53- Fixed a bug where every user message was sent to the model twice, in both chats and background agents.
- A conversation whose model has since been blocked, removed from the allowlist or lost its API key now stops with an error asking you to start a new chat, where previously it carried on using that model.
- Background agents,
datasette agent chatand conversations created through the API without a model now work when no default model is configured. They use the first available model, the one the model picker preselects. A default that is configured but cannot be used is still an error. - The "View SQL query" link under a result in the chat transcript now passes the query's named parameters.
- The system prompt now tells the model to link to pages on this instance using root-relative paths. Models were inventing hostnames such as
https://datasette.local/. - Links to other sites in pages shown in the panel now ask for confirmation and open in a new tab, the same as external links in the chat. Forms in the panel that submit to another site are blocked.
- Fixed a bug where
http://links in the panel did nothing when Datasette was served overhttps://, for example behind a TLS-terminating proxy without theforce_https_urlssetting. #54 - Pages shown in the panel no longer display the "Powered by Datasette" footer.