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

Function user

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

Source from the content-addressed store, hash-verified

106}
107
108function user(text: string): ContextMessage {
109 return { role: 'user', content: [textPart(text)], toolCalls: [] };
110}
111
112function notification(text: string): ContextMessage {
113 return {

Callers 2

projector.test.tsFile · 0.70
generateHistoryFunction · 0.70

Calls 1

textPartFunction · 0.85

Tested by

no test coverage detected