MCPcopy Create free account
hub / github.com/microsoft/TypeChat / request_handler

Function request_handler

python/examples/multiSchema/demo.py:71–72  ·  view source on GitHub ↗
(message: str)

Source from the content-addressed store, hash-verified

69 router.register_agent(name="No Match", description="Handles all unrecognized requests", handler=handle_unknown)
70
71 async def request_handler(message: str):
72 await router.route_request(message)
73
74 file_path = sys.argv[1] if len(sys.argv) == 2 else None
75 await process_requests("🔀> ", file_path, request_handler)

Callers

nothing calls this directly

Calls 1

route_requestMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…