Support GitHub Copilot accounts on GitHub Enterprise Cloud data-residency hosts
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
Línea de trabajo
Start by reading src/oauth/github-copilot.ts, especially the device authorization, token exchange, user lookup, and validateCopilotApiBaseUrl() and resolveCopilotApiBaseUrl() paths named in the issue. Then trace where provider credentials and cached account or model data are stored. Done means a configured enterprise tenant uses tenant-specific authentication and inference endpoints, validates endpoint ownership, avoids public endpoint fallback on routing failure, and preserves the standard GitHub.com flow.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What are you trying to accomplish?
Use the GitHub Copilot provider with an enterprise-managed account hosted on a GitHub Enterprise Cloud data-residency tenant, such as octocorp.ghe.com, and select its permitted models in Codex.
What prevents this today?
The current github-copilot OAuth implementation appears to assume GitHub.com:
- Device authorization, token exchange, and user lookup use hard-coded
github.comorapi.github.comURLs. validateCopilotApiBaseUrl()acceptsgithubcopilot.comhosts, but rejects a tenant-specific inference host such ascopilot-api.octocorp.ghe.com.- When an inference host is rejected,
resolveCopilotApiBaseUrl()falls back to the public Copilot endpoint.
This assessment is based on the current development-branch source; I have not tested OpenCodex itself against the enterprise account.
What should OpenCodex do?
Allow a user to configure their GitHub Enterprise Cloud data-residency hostname for the Copilot provider, and use the appropriate tenant-specific authentication, account and inference endpoints.
For enterprise accounts, please validate that returned inference endpoints belong to the configured tenant and avoid silently falling back to the public endpoint when tenant routing fails. Keep credentials and cached account or model data associated with the selected host.
Additional context
The account’s tenant-specific Copilot endpoint has been tested independently with model discovery and streaming and non-streaming tool calls. A related implementation for another router is available in duolahypercho/codex-router#1018, although its authentication approach differs.
The standard GitHub.com Copilot flow should continue to work unchanged.
- Lenguaje dominante
- TypeScript
- Estrellas
- 16.9k
- Forks
- 1.3k
- Merge medio
- 1 d 4 h
- PR fusionados (30 d)
- 814
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de lidge-jun/opencodex
-
bug gui platform
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
lidge-jun/opencodex#9172 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
[Feature]: Include provider, model and account label in the `upstream failure` service.log linePosiblemente ocupada @EnesKartal la tomó hace 4 días. Abiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
lidge-jun/opencodex#9057 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
[Provider] antigravity-acp catalog omits gemini-4-hydrogen and gemini-4-neon that agy acp offersPosiblemente ocupada @sedoll la tomó hace 6 días. Abiertocatalog provider provider-compatibility
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
lidge-jun/opencodex#9037 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
bug cli
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
lidge-jun/opencodex#9171 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
account-pool enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
lidge-jun/opencodex#9165 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
Todos los issues de lidge-jun/opencodex
Issues similares
-
manually bump balena-preload to ^19.0.6Posiblemente ocupada @shaunmulligan la tomó hoy. Abierto
Dificultad 1/5 1-3 horas Aptitud para principiantes 66/100
balena-io/balena-cli#3200 ·
Los mantenedores suelen responder en 1 día
-
`MaterializedChatMessage._text` is quadratic in the number of text chunks (`+=` followed by `endsWith`), driving the extension host to heap OOMPosiblemente ocupada @olegius88 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
microsoft/vscode-prompt-tsx#205 ·
-
triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 64/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
melgarafael/DeskcommCRM#5340 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
ehmpathy/rhachet-roles-ehmpathy#1529 ·
Los mantenedores suelen responder en 1 día