fix: update base URL for Anthropic provider (#5600)

This commit is contained in:
Sam Hoang Van 2025-07-04 09:43:45 +07:00 committed by GitHub
parent 5918c9cd6f
commit 36c2024cb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View File

@ -66,7 +66,7 @@
"remark-math": "^6.0.0",
"sonner": "^2.0.3",
"tailwindcss": "^4.1.4",
"token.js": "npm:token.js-fork@0.7.12",
"token.js": "npm:token.js-fork@0.7.13",
"tw-animate-css": "^1.2.7",
"ulidx": "^2.4.1",
"unified": "^11.0.5",

View File

@ -62,7 +62,7 @@ export const predefinedProviders = [
{
active: true,
api_key: '',
base_url: 'https://api.anthropic.com/v1',
base_url: 'https://api.anthropic.com',
provider: 'anthropic',
explore_models_url:
'https://docs.anthropic.com/en/docs/about-claude/models',
@ -87,8 +87,8 @@ export const predefinedProviders = [
'The base endpoint to use. See the [Anthropic API documentation](https://docs.anthropic.com/en/api/messages) for more information.',
controller_type: 'input',
controller_props: {
placeholder: 'https://api.anthropic.com/v1',
value: 'https://api.anthropic.com/v1',
placeholder: 'https://api.anthropic.com',
value: 'https://api.anthropic.com',
},
},
],