refactor(ai): move the stored-key opener and the Anthropic host check out of provider.ts

Both are self-contained; provider.ts stays within its size baseline.
This commit is contained in:
Marc-André Bombeck committed 2026-10-23 17:19:21 +02:00
1 parent c82ed69549
commit fb9cd9b965
6 files changed
+49 -46

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ import {
type ModelListing,
} from "@/lib/ai/model-availability";
import { decrypt } from "@/lib/crypto";
import { isAnthropicBaseUrl } from "@/lib/ai/provider";
import { isAnthropicBaseUrl } from "@/lib/ai/anthropic-host";
import { isCanonicalOpenAIEndpoint } from "@/lib/ai/openai-capabilities";
import { loadAiUsageSettings } from "@/lib/ai/capabilities/usage";
import {