Add provider-level round-robin proxy pools for keyless providers, with per-key and per-account overrides
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
Start from the provider-level outbound proxy introduced in #5289 and the routing discussion in #5324, which the issue cites for context. The issue names no concrete source files, so first locate where a provider's proxy is chosen per request and how streams are held open. Done means a keyless provider with a three-proxy round-robin pool sends successive requests through P1, P2, P3, P1, and an in-flight stream keeps its original proxy.
索引モデルが issue の本文から書いたものです。
説明
Area
Proxy and routing / Dashboard
What are you trying to accomplish?
I would like to manage outbound proxies in a Proxy tab under each provider. A provider that accepts unauthenticated requests should be able to rotate through multiple proxies without registering an API key, an OAuth account, or a dummy credential.
What prevents this today?
#5289 introduced a provider-level outbound proxy. A single fixed proxy does not cover a pool of exits for one provider. #5324 discussed per-account routing and invited a smaller opt-in proposal.
What should OpenCodex do?
- Let a provider select a fixed proxy or an ordered round-robin proxy pool.
- For a keyless provider, choose the next proxy when a new request starts. Keep the chosen proxy for the lifetime of that request, including its stream. Concurrent requests should retain their own selection.
- For providers that use credentials, let each API key or stored OAuth account inherit the provider default, select a fixed proxy, or select its own round-robin pool. Proxy rotation should work independently of credential rotation.
Example usage or interface
In Providers → Example → Proxy, add P1, P2, and P3 and select Round robin. With zero credentials configured, four successive requests should exit through P1, P2, P3, and P1. If the first request is still streaming when the second starts, the first stream stays on P1.
For an authenticated provider, Key A could inherit that pool while Key B stays pinned to P2.
Suggested first slice
Start with an opt-in provider-level pool and the four-request keyless example above. Per-key and per-OAuth-account overrides can build on that provider default.
- 主要言語
- TypeScript
- スター
- 16.9k
- フォーク
- 1.3k
- 平均マージ
- 1日 4時間
- マージ済み PR(30日)
- 814
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
lidge-jun/opencodex のほかの issue
-
bug gui platform
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
lidge-jun/opencodex#9172 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Feature]: Include provider, model and account label in the `upstream failure` service.log line対応中かも @EnesKartal が 4 日前に担当しました。 オープンenhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
lidge-jun/opencodex#9057 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Provider] antigravity-acp catalog omits gemini-4-hydrogen and gemini-4-neon that agy acp offers対応中かも @sedoll が 6 日前に担当しました。 オープンcatalog provider provider-compatibility
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
lidge-jun/opencodex#9037 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug cli
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
lidge-jun/opencodex#9171 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
account-pool enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
lidge-jun/opencodex の issue をすべて見る
似ている issue
-
manually bump balena-preload to ^19.0.6対応中かも @shaunmulligan が今日担当しました。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 66/100
balena-io/balena-cli#3200 ·
メンテナーはふだん 1 日以内に返信
-
`MaterializedChatMessage._text` is quadratic in the number of text chunks (`+=` followed by `endsWith`), driving the extension host to heap OOM対応中かも @olegius88 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
microsoft/vscode-prompt-tsx#205 ·
-
triage
難易度 1/5 1時間未満 初心者へのやさしさ 64/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
melgarafael/DeskcommCRM#5340 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
ehmpathy/rhachet-roles-ehmpathy#1529 ·
メンテナーはふだん 1 日以内に返信