MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / toAppQuestionRequest

Function toAppQuestionRequest

apps/kimi-web/src/api/daemon/mappers.ts:325–334  ·  view source on GitHub ↗
(wire: WireQuestionRequest)

Source from the content-addressed store, hash-verified

323}
324
325export function toAppQuestionRequest(wire: WireQuestionRequest): AppQuestionRequest {
326 return {
327 questionId: wire.question_id,
328 sessionId: wire.session_id,
329 turnId: wire.turn_id,
330 toolCallId: wire.tool_call_id,
331 questions: wire.questions.map(toAppQuestionItem),
332 createdAt: wire.created_at,
333 };
334}
335
336function toWireQuestionAnswer(app: QuestionAnswer): WireQuestionAnswer {
337 switch (app.kind) {

Callers 1

toAppEventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected