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

Function toolMsg

apps/vis/server/test/lib/context-projector.test.ts:484–486  ·  view source on GitHub ↗
(id: string, text: string)

Source from the content-addressed store, hash-verified

482 it('micro-blanking uses the history index, skipping a preceding undo marker (model)', () => {
483 const bigText = 'x'.repeat(2000);
484 const toolMsg = (id: string, text: string) => ({
485 role: 'tool' as const, content: [{ type: 'text' as const, text }], toolCalls: [], toolCallId: id,
486 });
487 const userMsg = (text: string) => ({
488 role: 'user' as const, content: [{ type: 'text' as const, text }], toolCalls: [],
489 origin: { kind: 'user' as const },

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected