mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
fix(ai): remove retired Fireworks turbo router test
This commit is contained in:
parent
4e49492999
commit
56f3f33a9a
1 changed files with 1 additions and 12 deletions
|
|
@ -3,7 +3,7 @@ import type { AddressInfo } from "node:net";
|
|||
import { Type } from "typebox";
|
||||
import { afterEach, describe, expect, it } from "vitest";
|
||||
import { stream as streamAnthropic } from "../src/api/anthropic-messages.ts";
|
||||
import { getModel, getModels, streamSimple } from "../src/compat.ts";
|
||||
import { getModel, streamSimple } from "../src/compat.ts";
|
||||
import { findEnvKeys, getEnvApiKey } from "../src/env-api-keys.ts";
|
||||
import type { Context, Model, Tool } from "../src/types.ts";
|
||||
|
||||
|
|
@ -37,17 +37,6 @@ describe("Fireworks models", () => {
|
|||
});
|
||||
});
|
||||
|
||||
it("registers the Fire Pass turbo router model", () => {
|
||||
const model = getModels("fireworks").find(
|
||||
(candidate) => candidate.id.startsWith("accounts/fireworks/routers/") && candidate.id.endsWith("-turbo"),
|
||||
);
|
||||
|
||||
expect(model).toBeDefined();
|
||||
expect(model?.api).toBe("anthropic-messages");
|
||||
expect(model?.baseUrl).toBe("https://api.fireworks.ai/inference");
|
||||
expect(model?.input).toEqual(["text", "image"]);
|
||||
});
|
||||
|
||||
it("aligns GLM 5.2 Fast with GLM 5.2's OpenAI-compatible config", () => {
|
||||
const base = getModel("fireworks", "accounts/fireworks/models/glm-5p2");
|
||||
const fast = getModel("fireworks", "accounts/fireworks/routers/glm-5p2-fast");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue