MCPcopy
hub / github.com/CopilotKit/CopilotKit / userMsg

Function userMsg

packages/angular/src/lib/agent.spec.ts:49–51  ·  view source on GitHub ↗
(id: string, content: string)

Source from the content-addressed store, hash-verified

47};
48
49function userMsg(id: string, content: string): Message {
50 return { id, role: "user" as const, content };
51}
52
53class MockAgent extends AbstractAgent {
54 unsubscribeCount = 0;

Callers 1

agent.spec.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…