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

Function userMsg

apps/kimi-code/test/tui/export-markdown.test.ts:18–25  ·  view source on GitHub ↗
(text: string, origin?: PromptOrigin)

Source from the content-addressed store, hash-verified

16// ---------------------------------------------------------------------------
17
18function userMsg(text: string, origin?: PromptOrigin): ContextMessage {
19 return {
20 role: 'user',
21 content: [{ type: 'text', text }],
22 toolCalls: [],
23 origin,
24 };
25}
26
27function assistantMsg(
28 text: string,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected