Add provider-level round-robin proxy pools for keyless providers, with per-key and per-account overrides
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 16.9k
- Fork
- 1.3k
- Merge medio
- 1g 4h
- PR unite (30g)
- 814
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di lidge-jun/opencodex
-
bug gui platform
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
lidge-jun/opencodex#9172 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
[Feature]: Include provider, model and account label in the `upstream failure` service.log lineForse già presa @EnesKartal l’ha presa 4 giorni fa. Apertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
lidge-jun/opencodex#9057 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
[Provider] antigravity-acp catalog omits gemini-4-hydrogen and gemini-4-neon that agy acp offersForse già presa @sedoll l’ha presa 6 giorni fa. Apertacatalog provider provider-compatibility
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
lidge-jun/opencodex#9037 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
bug cli
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
lidge-jun/opencodex#9171 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
account-pool enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di lidge-jun/opencodex
Issue simili
-
manually bump balena-preload to ^19.0.6Forse già presa @shaunmulligan l’ha presa oggi. Aperta
Difficoltà 1/5 1-3 ore Idoneità per principianti 66/100
balena-io/balena-cli#3200 ·
I maintainer di solito rispondono entro 1 giorno
-
`MaterializedChatMessage._text` is quadratic in the number of text chunks (`+=` followed by `endsWith`), driving the extension host to heap OOMForse già presa @olegius88 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
microsoft/vscode-prompt-tsx#205 ·
-
triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 64/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
melgarafael/DeskcommCRM#5340 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
ehmpathy/rhachet-roles-ehmpathy#1529 ·
I maintainer di solito rispondono entro 1 giorno