Rikkawaii
Rikkawaii
### 插件信息 ```json { "name": "astrbot_plugin_subagent_shell", "display_name": "subagent shell权限", "desc": "给subagent提供独立的 shell 执行工具,用于绕过白名单面板上无法勾选自带 shell 的限制", "author": "Rikkawaii", "repo": "https://github.com/Rikkawaii/astrbot_plugin_subagent_shell", "tags": [ "subagent", "shell" ] } ``` ### 插件检查清单 - [x]...
**背景** local模式下系统提示词声明了当前工作目录是{AstrBot root}\data\workspaces\{normalized_umo} ``` if config.computer_use_runtime == "local": tool_prompt += ( f"\nCurrent workspace you can use: " f"`{_get_workspace_path_for_umo(event.unified_msg_origin)}`\n" "Unless the user explicitly specifies a different directory, " "perform all file-related...
### 功能描述 我看目前飞书适配器只支持识别一类事件,就是用户消息。其他的比如云文档评论或妙记生成这类提高自动化程度和办公能力的事件并不支持,但是目前的sdk确实是可以处理这些事件的。 然后就是关于已有的用户消息这一块,目前好像也不支持卡片的交互吧,飞书官方有个更上层的[channel sdk](https://open.larkoffice.com/document/mcp_open_tools/integrating-agents-with-feishu/integrate-feishu-channel),可以方便的处理卡片交互的逻辑 ### 使用场景 _No response_ ### 检查清单 - [x] 我已在 [Issue 列表](https://github.com/AstrBotDevs/AstrBot/issues)中搜索过相关功能,确认该功能想法从未被提出过。 - [x] 我建议的功能与 AstrBot 本体相关,而非在建议某一插件的功能。 - [x] 我已阅读并同意本项目的[贡献者行为准则](https://github.com/AstrBotDevs/AstrBot/blob/master/CODE_OF_CONDUCT.md)。 - [x] (可选)我愿意提交 PR 以帮助实现该功能。
还有就是提取五元组时,我发现甚至会提取出对话中的一些比喻句,这些应该不需要也没有价值被记忆吧?五元组提取的提示词是不是可以改一下
1. process_text_chunk本身会追加complete_text,342行重复添加了。 2.voice_integration.finish_processing本意为处理缓冲区中最后积累的没有中止标点符号的句子,但是目前是只有检测到有中止符号的句子才会在344行处发送到@voice_integration.py,导致末尾无终止符号的句子无法进行语音转换
/chat/stream端点,即在@api_server.py 342行后是否需要使用 ` asyncio.create_task(tool_extractor.process_text_chunk(decoded)) ` 来触发语音合成?