Add anthropic_models capability

This commit is contained in:
Owen
2026-08-20 14:28:19 -04:00
parent df7e26a444
commit bafbf6e096
14 changed files with 584 additions and 18 deletions
+1
View File
@@ -2,6 +2,7 @@ export const AI_CAPABILITIES = [
"openai_chat",
"openai_responses",
"anthropic_messages",
"anthropic_models",
"gemini_generate_content",
"bedrock_model_invoke",
"google_generate_content",
+7 -2
View File
@@ -43,7 +43,7 @@ export const AI_PROVIDER_DEFAULTS: Record<
anthropic: {
upstreamUrl: "https://api.anthropic.com",
authType: "x-api-key",
capabilities: ["anthropic_messages"]
capabilities: ["anthropic_messages", "anthropic_models"]
},
googleGemini: {
upstreamUrl: "https://generativelanguage.googleapis.com",
@@ -63,7 +63,12 @@ export const AI_PROVIDER_DEFAULTS: Record<
microsoftFoundry: {
upstreamUrl: null,
authType: "bearer",
capabilities: ["openai_chat", "openai_responses", "anthropic_messages"]
capabilities: [
"openai_chat",
"openai_responses",
"anthropic_messages",
"anthropic_models"
]
},
openRouter: {
upstreamUrl: "https://openrouter.ai/api/v1",