MCPcopy Index your code
hub / github.com/microsoft/TypeChat / registerAgent

Method registerAgent

typescript/examples/multiSchema/src/router.ts:11–11  ·  view source on GitHub ↗
(name: string, agent: Agent<T>)

Source from the content-addressed store, hash-verified

9 _taskClassifier: TypeChatJsonTranslator<TaskClassificationResponse>
10 _handlerUnknownTask: MessageHandler<T>;
11 registerAgent(name: string, agent: Agent<T>): Promise<void>
12 routeRequest(request: string): Promise<void>
13}
14

Callers 1

main.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected