mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-07 08:27:12 +00:00
Restrict the browser install flow to Anthropic, OpenAI, and Gemini, remove the unused install-time base URL surface, and reject openai_compatible with a stable 422 response. Also fix the finishing health poller so it only redirects after the server comes back healthy outside install mode instead of jumping early on transient restart failures.
13 lines
346 B
TypeScript
13 lines
346 B
TypeScript
import { describe, expect, test } from "bun:test";
|
|
|
|
import { INSTALL_PROVIDERS } from "./install-config";
|
|
|
|
describe("INSTALL_PROVIDERS", () => {
|
|
test("excludes openai_compatible from install v1", () => {
|
|
expect(INSTALL_PROVIDERS.map((provider) => provider.id)).toEqual([
|
|
"anthropic",
|
|
"openai",
|
|
"gemini",
|
|
]);
|
|
});
|
|
});
|