Add Teapot Router as a provider (Anthropic + OpenAI dual-protocol gateway)

Offen Anfängerfreundlich
#13,486 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 8 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
67/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
typescript

Rechercherichtung

Lies zunächst die vorhandenen Provider-Einträge, Standard-Konfigurationsblöcke und die Provider-Dokumentation, um herauszufinden, wie Continue Gateways darstellt, die sowohl das OpenAI- als auch das Anthropic-Protokoll unterstützen. Füge Teapot Router mit den bereitgestellten API-Basen und Bearer-Authentifizierung hinzu und dokumentiere den Provider und seine Standardkonfiguration. Als erledigt gilt die Aufgabe, wenn Nutzer den Provider für beide Protokolle auswählen und konfigurieren können; überprüfe dies anhand der vorhandenen Provider-Prüfungen und der Konventionen in der Dokumentation.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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/completions and /responses both 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/models returns 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].

Vorherrschende Sprache
TypeScript
Sterne
36.5k
Forks
5.6k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus continuedev/continue

Alle Issues in continuedev/continue

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.