github / github/copilot-cli

Support auto-upgrading model selection when context fills (instead of compaction)

Abierto
#3,530 0 comentarios 0 reacciones 0 asignados Ver en GitHub
area:context-memory area:models
Lenguaje dominante
Shell
Estrellas
11.2k
Forks
1.9k
Merge medio
14 h 16 min
PR fusionados (30 d)
6

Descripción

### Describe the feature or problem you'd like to solve

Some of the models I have access to support multiple context window sizes. I want to start with the smaller context window, then upgrade to the next larger context window size for the same model type instead of compacting when the context fills up.

### Proposed solution

Add a configuration setting with similar placement to "continueOnAutoMode" - instead of triggering on rate limiting and switching to auto model, trigger on full context (which would normally compact) and switch to larger context version of same model if available, only compacting if already on the largest context available for that model.

### Example prompts or workflows

This would allow starting with a smaller context and seamlessly upgrading within the session if needed. Currently if I start with the smaller context and hit the limit, I have to manually switch then additionally prompt to attempt recovery of the context that was lost by compaction.

### Additional context

Under the premium requests model, smaller context was typically half the multiplier of larger context - I'm assuming that AI credits work similarly. If not, and larger context model scales credit usage based on the actual context used instead of the max, then this feature is unnecessary as I can just start with the larger context every time.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza leyendo la configuración existente de continueOnAutoMode y la ruta context-full que actualmente lleva a la compactación. Traza cómo se representan las variantes con un contexto mayor del mismo tipo de modelo; se considera terminado cuando una configuración puede seleccionar el siguiente tamaño disponible al agotarse el contexto y compactar únicamente en el tamaño máximo.

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

Evaluación

Stack tecnológico
shell
Área
ai, cli
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Tranquilo
Claridad
Necesita aclaración
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.