add new tool: to_captcha

This commit is contained in:
VladislavIlin7 2026-04-21 23:32:09 +03:00
parent 50589232d6
commit f1f32d8366
14 changed files with 1008 additions and 130 deletions

View file

@ -152,6 +152,7 @@ def _discover_tools():
"tools.memory_tool",
"tools.session_search_tool",
"tools.clarify_tool",
"tools.to_captcha_tool",
"tools.code_execution_tool",
"tools.delegate_tool",
"tools.process_registry",
@ -362,7 +363,7 @@ def get_tool_definitions(
# because they need agent-level state (TodoStore, MemoryStore, etc.).
# The registry still holds their schemas; dispatch just returns a stub error
# so if something slips through, the LLM sees a sensible message.
_AGENT_LOOP_TOOLS = {"todo", "memory", "session_search", "delegate_task"}
_AGENT_LOOP_TOOLS = {"todo", "memory", "session_search", "delegate_task", "to_captcha"}
_READ_SEARCH_TOOLS = {"read_file", "search_files"}