MCPcopy Index your code
hub / github.com/agent0ai/agent-zero / process

Method process

api/message.py:11–13  ·  view source on GitHub ↗
(self, input: dict, request: Request)

Source from the content-addressed store, hash-verified

9
10class Message(ApiHandler):
11 async def process(self, input: dict, request: Request) -> dict | Response:
12 task, context = await self.communicate(input=input, request=request)
13 return await self.respond(task, context)
14
15 async def respond(self, task: DeferredTask, context: AgentContext):
16 result = await task.result() # type: ignore

Callers

nothing calls this directly

Calls 2

communicateMethod · 0.95
respondMethod · 0.95

Tested by

no test coverage detected