diff --git a/packages/ai/test/provider/github-copilot.test.ts b/packages/ai/test/provider/github-copilot.test.ts deleted file mode 100644 index 7b194ca7909..00000000000 --- a/packages/ai/test/provider/github-copilot.test.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { describe, expect, test } from "bun:test" -import { shouldUseResponsesApi } from "@opencode-ai/ai/providers/github-copilot" - -describe("GitHub Copilot", () => { - test("selects the endpoint from explicit metadata before the model ID fallback", () => { - expect(shouldUseResponsesApi("mai-code-1-flash-picker", "responses")).toBe(true) - expect(shouldUseResponsesApi("gpt-5", "chat")).toBe(false) - expect(shouldUseResponsesApi("gpt-5")).toBe(true) - expect(shouldUseResponsesApi("gpt-5.1-codex")).toBe(true) - expect(shouldUseResponsesApi("gpt-4o")).toBe(false) - expect(shouldUseResponsesApi("gpt-5-mini")).toBe(false) - expect(shouldUseResponsesApi("gpt-5-mini-2025-08-07")).toBe(false) - }) -})