MCPcopy Index your code
hub / github.com/coder/mux / createModel

Function createModel

src/node/services/copilot/copilotResponsesLanguageModel.test.ts:79–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77}
78
79function createModel() {
80 return new CopilotResponsesLanguageModel({
81 modelId: "copilot-test",
82 fetch: globalThis.fetch,
83 baseUrl: "https://example.test",
84 });
85}
86
87function getJsonBody(init: RequestInit) {
88 if (typeof init.body !== "string") {

Calls

no outgoing calls

Tested by

no test coverage detected