feat(ai): add Anthropic-compatible provider

This commit is contained in:
Guoyu Su authored and GitHub committed 2026-07-29 20:38:09 +08:00
1 parent 4a6422365b
commit 9571519179
11 files changed
+755 -173

No files matched your search

+10
View File
@@ -180,6 +180,16 @@ export const AI_PROVIDER_PRESETS: Record<AiProvider, AiProviderPreset> = {
authMethod: "bearer",
requiresApiKey: false,
},
"anthropic-compatible": {
label: "Anthropic Compatible",
iconSlug: "anthropic",
provider: "anthropic-compatible",
endpoint: "",
model: "",
apiStyle: "anthropic-messages",
authMethod: "bearer",
requiresApiKey: false,
},
"openai-compatible": {
label: "OpenAI Compatible",
iconSlug: "openai",