MCPcopy Create free account
hub / github.com/apache/maka / respondToUserQuestion

Method respondToUserQuestion

packages/runtime/src/runtime-kernel.ts:2324–2334  ·  view source on GitHub ↗
(sessionId: string, response: UserQuestionResponse)

Source from the content-addressed store, hash-verified

2322 }
2323
2324 async respondToUserQuestion(sessionId: string, response: UserQuestionResponse): Promise<void> {
2325 if (this.deps.interactionAuthority) {
2326 throw new RuntimeInteractionInvariantError(
2327 'Hosted user questions must settle through their captured continuation',
2328 );
2329 }
2330 const generations = this.backendGenerationsFor(sessionId);
2331 await Promise.all(
2332 generations.map((active) => active.backend.respondToUserQuestion?.(response)),
2333 );
2334 }
2335
2336 // --------------------------------------------------------------------------
2337 // Steering / followup queues (authoritative source of truth)

Callers

nothing calls this directly

Calls 2

backendGenerationsForMethod · 0.95
respondToUserQuestionMethod · 0.65

Tested by

no test coverage detected