Rename to v1_models and use with openai as well

This commit is contained in:
Owen
2026-08-20 16:01:07 -04:00
parent 365a905e69
commit e65a79cc48
12 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ export const AI_CAPABILITIES = [
"openai_chat",
"openai_responses",
"anthropic_messages",
"anthropic_models",
"v1_models",
"gemini_generate_content",
"bedrock_model_invoke",
"google_generate_content",
+3 -3
View File
@@ -38,12 +38,12 @@ export const AI_PROVIDER_DEFAULTS: Record<
openai: {
upstreamUrl: "https://api.openai.com/v1",
authType: "bearer",
capabilities: ["openai_chat", "openai_responses"]
capabilities: ["openai_chat", "openai_responses", "v1_models"]
},
anthropic: {
upstreamUrl: "https://api.anthropic.com",
authType: "x-api-key",
capabilities: ["anthropic_messages", "anthropic_models"]
capabilities: ["anthropic_messages", "v1_models"]
},
googleGemini: {
upstreamUrl: "https://generativelanguage.googleapis.com",
@@ -67,7 +67,7 @@ export const AI_PROVIDER_DEFAULTS: Record<
"openai_chat",
"openai_responses",
"anthropic_messages",
"anthropic_models"
"v1_models"
]
},
openRouter: {