Simon Willison · 博客

datasette-agent 0.3a0

datasette-agent 0.3a0

二〇二六年八月二十六日 · 英文原文

datasette-agent 0.3a0 发布,新增 `execute_write_sql` 工具,可在请求用户批准后写入数据库并考虑用户权限(#27)。0.2a0 已引入用户批准机制,新版本增强聊天终端模式支持批准,新增 `--unsafe` 自动批准模式(#30)。`datasette agent chat` 新增 `--root`、`--yes` 和 `--unsafe` 三个选项(#31)。工具可为 HTML 提供纯文本替代方案,支持通过 `datasette agent chat content.db -m gpt-5.5 --unsafe` 命令直接与数据库交互并修改。

发布:datasette-agent 0.3a0
新工具 execute_write_sql,在请求用户批准后写入数据库——同时考虑用户权限。#27
我在 datasette agent 0.2a0 中新增了请求用户批准的机制。新的 execute_write_sql 工具现在可以提示用户执行各种有用的操作。以下是一个示例,我将一些鹈鹕目击记录添加到我的 pelican_sightings 表中:
新版本还增强了 datasette agent 聊天终端模式以支持批准,并新增了几个选项,包括用于自动批准的 --unsafe 模式:
datasette agent chat 可以执行需要用户批准的工具。#30
datasette agent chat 新增三个选项——--root 以 root 身份运行,--yes 批准所有询问用户的问题,以及 --unsafe 同时启用两者。
工具现在可以为 HTML 提供纯文本替代方案,以便在 datasette agent chat CLI 中显示。#31
现在可以使用 datasette agent chat content.db -m gpt-5.5 --unsafe 命令直接与特定数据库聊天,并通过类似“创建一个 notes 表”、“添加一条关于 X 的笔记”等提示直接修改数据库。
标签:projects, ai, datasette, annotated-release-notes, generative-ai, llms, llm-tool-use, datasette-agent

译自 Simon Willison · 博客 · 录于 二〇二六年八月二十六日