From a8f6b070aca8321428fc4ec294576cc2a4647063 Mon Sep 17 00:00:00 2001 From: Thibault Jaigu Date: Fri, 25 Sep 2026 02:34:58 +0100 Subject: [PATCH] docs: add Requesty provider example --- README.md | 1 + README_CN.md | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index ecfe93c5..e73a9750 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,7 @@ Give it a model and a key and it goes. It speaks the OpenAI-compatible API by de | OpenAI (default `gpt-5.5`) | `OPENAI_API_KEY=sk-...` | | DeepSeek | `OPENAI_API_KEY=sk-... OPENAI_BASE_URL=https://api.deepseek.com CORECODER_MODEL=deepseek-chat` | | OmniRoute | `OPENAI_API_KEY=your-key OPENAI_BASE_URL=http://localhost:20128/v1 CORECODER_MODEL=auto` | +| Requesty | `OPENAI_API_KEY=rqsty-... OPENAI_BASE_URL=https://router.requesty.ai/v1 CORECODER_MODEL=anthropic/claude-sonnet-4-5` | | Local Ollama | `OPENAI_API_KEY=ollama OPENAI_BASE_URL=http://localhost:11434/v1 CORECODER_MODEL=qwen2.5-coder` | Kimi, Qwen and the like are the same two variables; for providers that don't even offer an OpenAI-compatible endpoint, the optional LiteLLM backend (`pip install "corecoder[litellm]"`) routes to a hundred-plus of them. The third essay goes into this in detail. Thinking models are first-class too: deepseek-reasoner, kimi-k3 and friends stream their chain-of-thought, and CoreCoder shows it dimmed as it works, kept out of the conversation history so providers never see it come back. The key can be `export`ed directly or dropped into a `.env` at the project root, which is loaded on startup. Then: diff --git a/README_CN.md b/README_CN.md index 9beb4351..f08fdfb6 100644 --- a/README_CN.md +++ b/README_CN.md @@ -70,6 +70,7 @@ pip install -e . | OpenAI(默认 `gpt-5.5`) | `OPENAI_API_KEY=sk-...` | | DeepSeek | `OPENAI_API_KEY=sk-... OPENAI_BASE_URL=https://api.deepseek.com CORECODER_MODEL=deepseek-chat` | | OmniRoute | `OPENAI_API_KEY=your-key OPENAI_BASE_URL=http://localhost:20128/v1 CORECODER_MODEL=auto` | +| Requesty | `OPENAI_API_KEY=rqsty-... OPENAI_BASE_URL=https://router.requesty.ai/v1 CORECODER_MODEL=anthropic/claude-sonnet-4-5` | | 本地 Ollama | `OPENAI_API_KEY=ollama OPENAI_BASE_URL=http://localhost:11434/v1 CORECODER_MODEL=qwen2.5-coder` | Kimi、Qwen 这些同样是改这两个变量;连 OpenAI 兼容接口都不给的 provider,装上可选的 LiteLLM 后端(`pip install "corecoder[litellm]"`)能路由一百多家。第三篇文章把这块讲得更细。思考模型也是一等公民:deepseek-reasoner、kimi-k3 这类模型的思考过程会实时流出来,CoreCoder 把它用暗色显示出来,但不进对话历史,provider 永远不会在回包里看到它。key 可以直接 `export`,也可以在项目根目录扔个 `.env`,启动时自动加载。然后: