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

Function createAiService

src/node/services/agentSession.continueMessageAgentId.test.ts:75–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73}
74
75function createAiService(): AIService {
76 return {
77 on() {
78 return this;
79 },
80 off() {
81 return this;
82 },
83 isStreaming: () => false,
84 stopStream: mock(() => Promise.resolve({ success: true as const, data: undefined })),
85 } as unknown as AIService;
86}
87
88function createInitStateManager(): InitStateManager {
89 return {

Callers 1

createSessionFunction · 0.70

Calls 1

resolveMethod · 0.80

Tested by

no test coverage detected