Skip to content

Releases: AstrBotDevs/AstrBot

v4.13.2

31 Jan 16:42

Choose a tag to compare

What's Changed

fixes

  • feat(chat): feat: trace and log file config (#4747)
  • fix: WebUI shows success message when skills upload failed (#4768)
  • fix: cannot use tools when using skills-like tool schema mode (#4775)
  • fix(context): llm tools' origin in WebUI displayed unknown (#4776)

v4.13.1

29 Jan 15:35

Choose a tag to compare

What's Changed

fixes

  • feat(chat): refactor message rendering and introduce ToolCallItem component
  • fix(db): using lambda expression to ensure updated_at field (#4730)
  • fix(skills): update SANDBOX_SKILLS_ROOT path to use relative directory

What's Changed

  • fix(db): using lambda expression to ensure updated_at field by @SXP-Simon in #4730

Full Changelog: v4.13.0...v4.13.1

v4.13.0

28 Jan 16:57

Choose a tag to compare

What's Changed

新功能

  • 支持 Anthropic Skills 导入和使用。参见 Skills
  • 支持新的 Tool Schema 模式:Skill-like。通过两阶段调用来减少 Tool 过多的情况下,占用过多上下文的问题。
  • 支持通过环境变量配置提供商 API Key。(#4696)
  • 支持插件的上传文件功能配置项类型 file (#4539)

修复

  • Gemini API 部分情况下工具无限循环调用 (#4686)
  • 修复 WebUI GitHub 代理选择器问题及卸载插件后出现的错误 (#4724)

优化

  • 默认不在终端显示 WebUI API 访问日志 (#4661)
  • 增加插件管理页面“更新所有插件”按钮的确认对话框,防止误点击 (#4658)

Update Log

New Features

  • Anthropic Skills Support: Added support for importing and using Anthropic Skills. See the Skills Documentation for details.
  • Skill-like Tool Schema: Introduced a new "Skill-like" schema for tools. This uses a two-stage calling process to reduce context bloat when managing a large number of tools.
  • Environment Variable API Keys: Support for configuring provider API keys via environment variables (GitHub #4696).
  • File Upload Config: Added a file configuration type for plugin file upload functionality (GitHub #4539).

Bug Fixes

  • Gemini Tool Loops: Fixed an issue where the Gemini API could enter an infinite tool-calling loop (GitHub #4686).
  • WebUI Stability: Resolved issues with the GitHub proxy selector and errors occurring after uninstalling plugins (GitHub #4724).

Optimizations

  • Console Logs: WebUI API access logs are now hidden by default in the terminal (GitHub #4661).
  • Accidental Click Protection: Added a confirmation dialog for the "Update All Plugins" button in the management interface (GitHub #4658).

Details

  • feat: add confirmation dialog for update all plugins button to preven… by @tooplick in #4658
  • feat: add configurable Dashboard API access log toggle by @KBVsent in #4661
  • fix: repetition tool calls in gemini models by @xunxiing in #4686
  • feat: resolve provider api keys from env by @Soulter in #4696
  • feat: add file upload to plugin config by @xunxiing in #4539
  • feat: support anthropic skills by @Soulter in #4715
  • fix: webui github proxy selector and bugs after uninstalling plugins by @Soulter in #4724
  • feat(core): supports Anthropic-skills-like tool call mode by @vmoranv in #4681

New Contributors

Full Changelog: v4.12.4...v4.13.0

v4.12.4

24 Jan 06:57

Choose a tag to compare

What's Changed

新功能

  • 为 ChatUI 添加文件拖拽上传功能 (#4583)
  • 实现人格文件夹以进行高级人格管理 (#4443)
  • 添加人格文件夹管理以支持层级组织 (db)
  • 支持 Genie TTS

修复

  • 增强提供商选择错误处理和日志记录,避免出现 Provider 不是 Provider 类型 的错误 (#4654)
  • aiocqhttp 适配器中的 Markdown KeyError 或 UnboundLocalError 问题 (#4656)
  • 确保 providers 中的 embedding 维度作为整数返回 (#4547)
  • 钉钉流式响应问题 (#4590)
  • 提供商选择按钮被长模型名称遮挡的问题 (#4631)
  • 更新 web_search_tavily 处理,避免在非 ChatUI 平台出现信息引用 (#4633)

性能优化

  • T2I 模板编辑器预览 (#4574)

杂项

  • 移除已弃用的 tool 命令

What's Changed

  • fix: ensure embedding dimensions are returned as integers in providers by @Soulter in #4547
  • perf: T2I template editor preview by @IGCrystal-A in #4574
  • Feature/chat drag upload by @Clhikari in #4583
  • perf: streaming response for DingTalk by @jiangman202506 in #4590
  • feat: implement persona folder for advanced persona management by @RC-CHN in #4443
  • feat: AstrBot Live Chat Mode on ChatUI by @Soulter in #4534
  • Fix provider selector button hidden by long model names by @Copilot in #4631
  • fix: update web_search_tavily handling for webchat platform by @Soulter in #4633
  • fix: enhance provider selection error handling and logging by @Soulter in #4654
  • fix: markdown keyerror or unbound error in aiocqhttp adapter by @Soulter in #4656

New Contributors

Full Changelog: v4.12.3...v4.12.4

v4.12.3

17 Jan 11:13

Choose a tag to compare

What's Changed

  • fix: 只跳过 AstrBot 预设的位于开头的 System Message,防止一些非预期行为。
  • feat: 优化 ChatUI 默认的 System Message
  • feat: 新增 tool 调用时 on_using_llm_tool、tool 调用后 on_llm_tool_respond 的事件钩子。
  • feat: 优化 ChatUI 对 Tavily 网页搜索工具的渲染,支持内联搜索引用、引用网页。

hotfix of 4.12.2

  • fix: tool call error in some cases

v4.12.2

17 Jan 10:14

Choose a tag to compare

What's Changed

  • fix: 只跳过 AstrBot 预设的位于开头的 System Message,防止一些非预期行为。
  • feat: 优化 ChatUI 默认的 System Message
  • feat: 新增 tool 调用时 on_using_llm_tool、tool 调用后 on_llm_tool_respond 的事件钩子。
  • feat: 优化 ChatUI 对 Tavily 网页搜索工具的渲染,支持内联搜索引用、引用网页。

v4.12.1

15 Jan 14:21

Choose a tag to compare

What's Changed

hotfix of v4.12.0

fix: 修复会话隔离功能失效的问题。

新增

  • AstrBot Agent 沙箱环境(改进的代码解释器) (#4449),详见文档
  • ChatUI 支持项目管理 (#4477)
  • 自定义规则支持批量处理。

修复

  • 发送 OpenAI 风格的 image_url 导致 Anthropic 返回 400 无效标签错误 (#4444)
  • ChatUI 标题显示问题 (#4486)
  • 确保 ChatUI 消息流顺序正确 (#4487)
  • 从 Telegram 和 Discord 平台命令注册中排除已禁用的命令 (#4485)

优化

  • 优化工具调用相关的提示词
  • 标准化 Context 类文档格式 (#4436)

What's Changed

New Contributors

Full Changelog: v4.11.4...v4.12.1

v4.12.0

15 Jan 11:56

Choose a tag to compare

What's Changed

新增

  • AstrBot 代理沙箱环境(改进的代码解释器) (#4449),详见文档
  • ChatUI 支持项目管理 (#4477)
  • 自定义规则支持批量处理。

修复

  • 发送 OpenAI 风格的 image_url 导致 Anthropic 返回 400 无效标签错误 (#4444)
  • ChatUI 标题显示问题 (#4486)
  • 确保 ChatUI 消息流顺序正确 (#4487)
  • 从 Telegram 和 Discord 平台命令注册中排除已禁用的命令 (#4485)

优化

  • 优化工具调用相关的提示词
  • 标准化 Context 类文档格式 (#4436)

v4.11.4

12 Jan 12:45

Choose a tag to compare

What's Changed

Fixes

  • detect image MIME type from binary data for Anthropic API (#4426)
  • correct duplicate word in agent logger warning (#4390)
  • sannitize llm context by modalities (#4367)
  • fix list config being saved as [""] instead of [] after deletion (#4401)

Improvements

  • Added EULA.
  • enhance reply functionality to support selected text quoting (#4387)
  • ensure atomic creation of knowledge base with proper cleanup on failure (#4406)
  • add null check for plugin list in config to fix empty list issue (#4392)
  • add image placeholder for non-vision models to fix no response in private chat (#4411)
  • append version number tag to WARN and ERROR level logs (#4388)
  • optimize plugin readme markdown rendering and remove redundant code (#4415)
  • sanitize invalid platform IDs on load (#4432)
  • LLM healthy mode (#4431)

Details

  • feat/chatui quote text by @Soulter in #4387
  • fix: ensure atomic creation of knowledge base with proper cleanup on failure by @Li-shi-ling in #4406
  • fix(webui): fix unexpected expansion of all rows in tool table by @letr007 in #4366
  • fix: when session_id including ":" by @stevessr in #4380
  • fix: add null check for plugin list in config to fix empty list issue by @advent259141 in #4392
  • fix(core): correct duplicate word in agent logger warning by @letr007 in #4390
  • fix: add image placeholder for non-vision models to fix no response in private chat by @advent259141 in #4411
  • feat(context): sanitize llm context by modalities by @Futureppo in #4367
  • fix (#4297): fix list config being saved as [""] instead of [] after deletion by @NayukiChiba in #4401
  • feat(log): append version number tag to WARN and ERROR level logs by @ocetars in #4388
  • fix: detect image MIME type from binary data for Anthropic API by @KBVsent in #4426
  • fix(webui): optimize markdown rendering and remove redundant code by @clown145 in #4415
  • feat(safety): LLM healthy mode by @Soulter in #4431
  • Sanitize invalid platform IDs on load and add UI validation by @Soulter in #4432

New Contributors

Full Changelog: v4.11.2...v4.11.3

v4.11.3

12 Jan 11:38

Choose a tag to compare

What's Changed

Fixes

  • detect image MIME type from binary data for Anthropic API (#4426)
  • correct duplicate word in agent logger warning (#4390)
  • sannitize llm context by modalities (#4367)
  • fix list config being saved as [""] instead of [] after deletion (#4401)

Improvements

  • enhance reply functionality to support selected text quoting (#4387)
  • ensure atomic creation of knowledge base with proper cleanup on failure (#4406)
  • add null check for plugin list in config to fix empty list issue (#4392)
  • add image placeholder for non-vision models to fix no response in private chat (#4411)
  • append version number tag to WARN and ERROR level logs (#4388)
  • optimize plugin readme markdown rendering and remove redundant code (#4415)
  • sanitize invalid platform IDs on load (#4432)
  • LLM healthy mode (#4431)