refine tool提示语为更简洁风格,补充last_buffer_char属性及非VERBOSE模式流式输出换行逻辑,新增工具流式分隔符单元测试

This commit is contained in:
jxxghp
2026-04-26 11:15:11 +08:00
parent 90245a13e1
commit 4208c79d72
60 changed files with 148 additions and 84 deletions

View File

@@ -22,7 +22,7 @@ class QueryRuleGroupsTool(MoviePilotTool):
def get_tool_message(self, **kwargs) -> Optional[str]:
"""根据查询参数生成友好的提示消息"""
return "正在查询所有规则组"
return "查询所有规则组"
async def run(self, **kwargs) -> str:
logger.info(f"执行工具: {self.name}")