refactor(prompts, utils, subagent, skill_manager, think): update skill usage instructions and enhance reflection tool for better decision-making

This commit is contained in:
X-iZhang
2026-03-03 01:05:10 +00:00
parent 7e65bfe0b7
commit a574492123
6 changed files with 91 additions and 40 deletions
-8
View File
@@ -146,14 +146,6 @@ class TestFormatToolCompact:
result = format_tool_compact("task", {"other": "value"})
assert result == "Cooking with sub-agent"
def test_load_skill(self):
result = format_tool_compact("load_skill", {"skill_name": "vllm"})
assert result == "load_skill(vllm)"
def test_load_skill_name_key(self):
result = format_tool_compact("load_skill", {"name": "peft"})
assert result == "load_skill(peft)"
def test_tavily_search(self):
result = format_tool_compact("tavily_search", {"query": "python testing"})
assert result == "tavily_search(python testing)"