MCPcopy
hub / github.com/coder/mux / streamStartEvent

Function streamStartEvent

src/node/services/agentSession.queueDispatch.test.ts:24–32  ·  view source on GitHub ↗
(workspaceId: string)

Source from the content-addressed store, hash-verified

22}
23
24function streamStartEvent(workspaceId: string): Record<string, unknown> {
25 return {
26 type: "stream-start",
27 workspaceId,
28 messageId: "assistant-1",
29 model: TEST_MODEL,
30 startTime: Date.now(),
31 };
32}
33
34function streamAbortEvent(
35 workspaceId: string,

Calls

no outgoing calls

Tested by

no test coverage detected