Releases: AstrBotDevs/AstrBot
Releases · AstrBotDevs/AstrBot
v4.13.2
v4.13.1
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
What's Changed
新功能
- 支持 Anthropic Skills 导入和使用。参见 Skills;
- 支持新的 Tool Schema 模式:Skill-like。通过两阶段调用来减少 Tool 过多的情况下,占用过多上下文的问题。
- 支持通过环境变量配置提供商 API Key。(#4696)
- 支持插件的上传文件功能配置项类型
file(#4539)
修复
优化
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
What's Changed
新功能
修复
- 增强提供商选择错误处理和日志记录,避免出现
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
- @Clhikari made their first contribution in #4583
- @jiangman202506 made their first contribution in #4590
Full Changelog: v4.12.3...v4.12.4
v4.12.3
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
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
What's Changed
hotfix of v4.12.0
fix: 修复会话隔离功能失效的问题。
新增
修复
- 发送 OpenAI 风格的 image_url 导致 Anthropic 返回 400 无效标签错误 (#4444)
- ChatUI 标题显示问题 (#4486)
- 确保 ChatUI 消息流顺序正确 (#4487)
- 从 Telegram 和 Discord 平台命令注册中排除已禁用的命令 (#4485)
优化
- 优化工具调用相关的提示词
- 标准化 Context 类文档格式 (#4436)
What's Changed
- fix: sending OpenAI-style image_url causes Anthropic 400 invalid tag error by @KBVsent in #4444
- feat: chatui project by @Soulter in #4477
- docs: standardize Context class documentation formatting by @Li-shi-ling in #4436
- fix: chatui title by @Soulter in #4486
- fix: ensure message stream order by @Soulter in #4487
- fix:exclude disabled commands from platform command registration by @KBVsent in #4485
- feat: astrbot agent sandbox env(improved code interpreter) by @Soulter in #4449
- feat: add batch operation functionality for session management by @Luna-channel in #4194
- fix: unique session not working by @Soulter in #4490
New Contributors
- @Luna-channel made their first contribution in #4194
Full Changelog: v4.11.4...v4.12.1
v4.12.0
v4.11.4
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
- @Li-shi-ling made their first contribution in #4406
- @stevessr made their first contribution in #4380
- @NayukiChiba made their first contribution in #4401
- @KBVsent made their first contribution in #4426
Full Changelog: v4.11.2...v4.11.3
v4.11.3
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)