fix openrouter

This commit is contained in:
x1xhlol
2026-04-01 18:32:03 +02:00
Unverified
parent b181c9925d
commit 237fcb0f35
7 changed files with 94 additions and 23 deletions

View File

@@ -64,7 +64,7 @@ Default endpoints:
- OpenAI base URL: `https://api.openai.com/v1`
- OpenAI websocket mode endpoint: `wss://api.openai.com/v1/responses`
- OpenRouter base URL: `https://openrouter.ai/api/v1`
- OpenRouter Anthropic-compatible base URL: `https://openrouter.ai/api`
- OpenRouter Responses API: `https://openrouter.ai/api/v1/responses`
## Quick Start
@@ -91,7 +91,7 @@ OpenRouter:
```bash
BETTER_CLAWD_API_PROVIDER=openrouter
OPENROUTER_API_KEY=your_key_here
OPENROUTER_BASE_URL=https://openrouter.ai/api/v1
OPENROUTER_BASE_URL=https://openrouter.ai/api
```
## What You Get