diff --git a/docs/core/models/byok.md b/docs/core/models/byok.md index a4079b57..62eb69af 100644 --- a/docs/core/models/byok.md +++ b/docs/core/models/byok.md @@ -77,7 +77,7 @@ Eigent supports the following BYOK providers: | Provider | Default API Host | Official Documentation | | --------------------- | ---------------------------------------------------------- | --------------------------------------------------------------------------------------------- | | **OpenAI** | `https://api.openai.com/v1` | [OpenAI API Docs](https://platform.openai.com/docs/api-reference) | -| **Anthropic** | `https://api.anthropic.com/v1/` | [Anthropic API Docs](https://docs.anthropic.com/en/api/getting-started) | +| **Anthropic** | `https://api.anthropic.com/` | [Anthropic API Docs](https://docs.anthropic.com/en/api/getting-started) | | **Google Gemini** | `https://generativelanguage.googleapis.com/v1beta/openai/` | [Gemini API Docs](https://ai.google.dev/gemini-api/docs) | | **OpenRouter** | `https://openrouter.ai/api/v1` | [OpenRouter Docs](https://openrouter.ai/docs) | | **Qwen (Alibaba)** | `https://dashscope.aliyuncs.com/compatible-mode/v1` | [Qwen API Docs](https://help.aliyun.com/zh/dashscope/developer-reference/api-details) | diff --git a/src/lib/llm.ts b/src/lib/llm.ts index 67bd6023..6584a3df 100644 --- a/src/lib/llm.ts +++ b/src/lib/llm.ts @@ -37,7 +37,7 @@ export const INIT_PROVODERS: Provider[] = [ id: 'anthropic', name: 'Anthropic', apiKey: '', - apiHost: 'https://api.anthropic.com/v1/', + apiHost: 'https://api.anthropic.com', description: 'Anthropic Claude API configuration', is_valid: false, model_type: '',