MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / makeRawModel

Function makeRawModel

src/api/providers/fetchers/__tests__/requesty.spec.ts:10–25  ·  view source on GitHub ↗
(overrides: Record<string, unknown>)

Source from the content-addressed store, hash-verified

8const mockAxiosGet = vi.mocked(axios.get)
9
10function makeRawModel(overrides: Record<string, unknown>) {
11 return {
12 id: "some/model",
13 max_output_tokens: 8192,
14 context_window: 200000,
15 supports_caching: false,
16 supports_vision: false,
17 supports_reasoning: false,
18 input_price: "0.000003",
19 output_price: "0.000015",
20 description: "Test model",
21 caching_price: null,
22 cached_price: null,
23 ...overrides,
24 }
25}
26
27describe("getRequestyModels", () => {
28 it("applies Fable 5 overrides when parsing anthropic/claude-fable-5", async () => {

Callers 1

requesty.spec.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected