Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

BYOK model limits catalog is missing gpt-5.5

Cerrado Apto para principiantes
#3,118 0 comentarios 2 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
68/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
shell
Área
ai, cli

Línea de trabajo

Localiza el catálogo integrado de límites de modelos BYOK y su lookup, y compara las entradas cercanas de gpt-5.4, gpt-5.4-mini y gpt-5.4-nano. Vuelve a ejecutar la reproducción proporcionada de Copilot CLI sin overrides manuales de tokens; estará terminado cuando gpt-5.5 resuelva los límites del catálogo sin la advertencia de fallback.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

area:configuration area:models
Describe the bug

When using BYOK / a custom OpenAI-compatible provider with gpt-5.5, Copilot CLI treats the model as missing from the built-in limits catalog and falls back to default token limits.

This appears to be a catalog mismatch: gpt-5.5 can be listed/used by the provider, but the BYOK limits catalog does not include an entry for it. As a result, context/compaction uses a much smaller default prompt budget unless users manually set COPILOT_PROVIDER_MAX_PROMPT_TOKENS and COPILOT_PROVIDER_MAX_OUTPUT_TOKENS.

Affected version

GitHub Copilot CLI 1.0.40

Steps to reproduce the behavior

Use an OpenAI-compatible BYOK provider that exposes gpt-5.5, then run Copilot CLI with the model selected but without manual token limit overrides:

export COPILOT_PROVIDER_TYPE=openai
export COPILOT_PROVIDER_BASE_URL=<redacted>/v1
export COPILOT_PROVIDER_API_KEY=<redacted>
export COPILOT_PROVIDER_MODEL_ID=gpt-5.5
export COPILOT_PROVIDER_WIRE_API=responses
unset COPILOT_PROVIDER_MAX_PROMPT_TOKENS
unset COPILOT_PROVIDER_MAX_OUTPUT_TOKENS

copilot --log-level debug -p 'Reply with exactly OK and nothing else.'

Observed debug log excerpts:

[WARNING] Model "gpt-5.5" is not in the built-in catalog. Using defaults for: prompt tokens (COPILOT_PROVIDER_MAX_PROMPT_TOKENS), output tokens (COPILOT_PROVIDER_MAX_OUTPUT_TOKENS). Run `copilot help providers` for configuration details.
[INFO] Using custom provider: type=openai, wireApi=responses
[DEBUG] Using model: gpt-5.5
[DEBUG] Listed models: [gpt-5.5,gpt-5.5]
"max_prompt_tokens": 128000,
"max_context_window_tokens": 200000,
CompactionProcessor: Utilization 15.4% (19674/128000 tokens) below threshold 80%

If manual overrides are provided, they do take effect:

export COPILOT_PROVIDER_MAX_PROMPT_TOKENS=400000
export COPILOT_PROVIDER_MAX_OUTPUT_TOKENS=128000

Then the compaction log uses the manual prompt limit:

CompactionProcessor: Utilization 4.9% (19666/400000 tokens) below threshold 80%
Expected behavior

gpt-5.5 should either:

  1. be included in the BYOK built-in model limits catalog with appropriate prompt/context/output limits, or
  2. have a documented way to inherit/resolve limits for this model without falling back to the generic defaults.
Actual behavior

gpt-5.5 is usable from the provider model list, but the BYOK model limits lookup misses it and falls back to defaults:

max_prompt_tokens: 128000
max_context_window_tokens: 200000
Additional context

The nearby GPT-5.x entries in the BYOK catalog appear to include models such as gpt-5.4, gpt-5.4-mini, and gpt-5.4-nano with larger limits. The issue seems specific to gpt-5.5 being absent from the built-in BYOK limits catalog.

Lenguaje dominante
Shell
Estrellas
11.2k
Forks
1.9k
Merge medio
14 h 16 min
PR fusionados (30 d)
6

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de github/copilot-cli

Todos los issues de github/copilot-cli

Issues similares

Más issues de Shell/Bash

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.