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

Function textPart

packages/agent-core/test/agent/context/projector.test.ts:96–98  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

94// ---------------------------------------------------------------------------
95
96function textPart(text: string): ContentPart {
97 return { type: 'text', text };
98}
99
100function textOf(message: Message | undefined): string {
101 return (

Callers 8

userFunction · 0.85
notificationFunction · 0.85
assistantFunction · 0.85
toolFunction · 0.85
compactionSummaryFunction · 0.85
projector.test.tsFile · 0.85
wsFunction · 0.85
assistantTextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected