Skip to content

0.6a0

Pre-release
Pre-release

Choose a tag to compare

@simonw simonw released this 15 Nov 03:49
· 3 commits to main since this 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-agent permission.
  • 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 chat now accepts -c/--config to load a Datasette JSON or YAML configuration file, and a repeatable -s/--setting option for individual settings, both working the same way as in datasette serve. -m overrides a default_model set 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 chat and 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 over https://, for example behind a TLS-terminating proxy without the force_https_urls setting. #54
  • Pages shown in the panel no longer display the "Powered by Datasette" footer.