feat: add async task support

This commit is contained in:
Greyson Lalonde
2025-12-02 16:19:43 -05:00
parent bd95356ec5
commit bf9ccd418a
7 changed files with 959 additions and 24 deletions

View File

@@ -25,6 +25,14 @@ class MockAgent(BaseAgent):
def get_mcp_tools(self, mcps: list[str]) -> list[BaseTool]:
return []
async def aexecute_task(
self,
task: Any,
context: str | None = None,
tools: list[BaseTool] | None = None,
) -> str:
return ""
def get_output_converter(
self, llm: Any, text: str, model: type[BaseModel] | None, instructions: str
): ...