MCPcopy
hub / github.com/coder/mux / copilotResponsesLanguageModel.test.ts

File copilotResponsesLanguageModel.test.ts

src/node/services/copilot/copilotResponsesLanguageModel.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { afterEach, describe, expect, it } from "bun:test";
2import type { LanguageModelV2CallOptions, LanguageModelV2StreamPart } from "@ai-sdk/provider";
3import { CopilotResponsesLanguageModel } from "./copilotResponsesLanguageModel";
4

Callers

nothing calls this directly

Calls 12

getJsonBodyFunction · 0.85
createSseResponseFunction · 0.85
collectStreamPartsFunction · 0.85
createJsonResponseFunction · 0.85
createCompletedResponseFunction · 0.85
createChunkedSseResponseFunction · 0.85
resolveMethod · 0.80
doStreamMethod · 0.80
doGenerateMethod · 0.80
mockFetchFunction · 0.70
createModelFunction · 0.70
pushMethod · 0.65

Tested by

no test coverage detected