F2: delegate prompt tasks to native Reasoner or OpenCode backends
This commit is contained in:
@@ -43,8 +43,6 @@ class ToolExecutor:
|
||||
@staticmethod
|
||||
def input_schema(tool: RuntimeTool) -> tuple[dict[str, Any], list[str]]:
|
||||
config = (tool.definition or {}).get("config") or {}
|
||||
if tool.type == "task":
|
||||
return {"instruction": {"type": "string", "description": "需要远程执行的完整任务要求"}}, ["instruction"]
|
||||
if tool.type == "mcp":
|
||||
schema = config.get("input_schema") or {}
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user