diff --git a/web-app/package.json b/web-app/package.json index 1719665602..d961c80e6a 100644 --- a/web-app/package.json +++ b/web-app/package.json @@ -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", @@ -94,4 +94,4 @@ "vite-plugin-node-polyfills": "^0.23.0", "vitest": "^3.1.3" } -} +} \ No newline at end of file diff --git a/web-app/src/mock/data.ts b/web-app/src/mock/data.ts index 128ec38dae..3610eab970 100644 --- a/web-app/src/mock/data.ts +++ b/web-app/src/mock/data.ts @@ -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', }, }, ],