Add Teapot Router as a provider (Anthropic + OpenAI dual-protocol gateway)
维护者通常 8 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 67/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
首先阅读现有的 provider 条目、默认配置块和 provider 文档,了解 Continue 如何表示同时支持 OpenAI 和 Anthropic 协议的网关。使用提供的 API 基础地址和 Bearer 身份验证添加 Teapot Router,然后编写该 provider 及其默认配置的文档。当用户能够针对任一协议选择并配置该 provider 时,任务即告完成;请参照现有的 provider 检查和文档惯例进行验证。
由索引模型根据 Issue 内容生成。
描述
Problem
A number of Continue users arrive from the CLI agent world (Claude Code, Codex CLI) already holding a gateway API key, and the natural next question is "can the same key power Continue in my IDE?" Today the answer is "yes, but hand-write the provider block." A listed provider would remove that friction.
Request
Please consider Teapot Router as a listed provider option. It's a hosted gateway serving both API shapes from one key, pay-as-you-go:
- OpenAI-compatible base:
https://api.teapotrouter.com/v1—/chat/completionsand/responsesboth implemented - Anthropic Messages base:
https://api.teapotrouter.com— so Claude models can run in their native protocol (incl. autocomplete/chat split by model) - Auth:
Authorization: Bearer <key> GET /v1/modelsreturns the live model catalog (useful for model-name hints in the picker)- Machine-readable catalog JSON, public, same source as the website:
https://teapotrouter.com/api/pricing - Keys are created at https://teapotrouter.com
Offer
If maintainers are open to it, I'll submit the implementation under your normal contribution process — provider entry, default config block, and docs snippet. If you'd rather not add vendor entries, closing this is completely fine; the manual config path works today.
Disclosure: I operate Teapot Router (independent project — no affiliate or rev-share implied). Happy to answer questions here or at [email protected].
- 主要语言
- TypeScript
- 星标
- 36.5k
- 派生
- 5.6k
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
continuedev/continue 的其他 Issue
-
Chat panel overflows horizontally when VS Code zoom level is increased (Cmd/Ctrl + +)可能已有人在做 @tang-ontheway 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 80/100
continuedev/continue#13483 ·
维护者通常 8 天内回复
-
Docs: show tool selection for a shared remote MCP endpoint可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
continuedev/continue#13464 · 1 条评论 ·
维护者通常 8 天内回复
-
Inline code becomes unreadable in VS Code high-contrast themes可能已有人在做 @aminesayagh 于 21 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 63/100
continuedev/continue#13424 ·
维护者通常 8 天内回复
-
create_new_file writes a JSON file on one line when the model sends its contents as a JSON value可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
continuedev/continue#13363 ·
维护者通常 8 天内回复
-
难度 1/5 1 小时以内 新手友好度 66/100
continuedev/continue#13352 ·
维护者通常 8 天内回复
查看 continuedev/continue 的全部 Issue
相似的 Issue
-
area-templates triage:bot-seen triage:needs-human
难度 2/5 1-3 小时 新手友好度 75/100
microsoft/aspire#22356 · 1 条评论 ·
维护者通常 1 天内回复
-
Archiving an agent that is not loaded keeps its old updatedAt可能已有人在做 @luoph 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
content triage
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
contributor: external needs review severity: low
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
Enhancement
难度 2/5 1-3 小时 新手友好度 76/100
JSPrismarine/JSPrismarine#3214 ·
维护者通常 1 天内回复