Github Copilot Desktop App chat model overrides Squad defaultModel for spawned agents

Abierto
#2,258 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
1-2 días
Aptitud para principiantes
52/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
github, typescript
Área
ai, cli

Línea de trabajo

Start by locating Squad's model-resolution and agent-spawning entry points, then trace how the configured defaultModel is passed when started from Copilot Desktop. Reproduce with .squad/config.json set to gpt-6-luna and a different Desktop chat model. Done means spawned agents follow Squad's resolution rules when supported, and the limitation is clearly disclosed when the integration cannot honor the model.

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

Descripción

wave:1-next wave1:P9

Summary

When I start the Squad agent from Copilot Desktop with GPT 6.1 Sol selected in chat, a Squad-spawned sub-agent runs with that same chat-selected model instead of the model configured by Squad. In the workspace I checked, .squad/config.json sets defaultModel to gpt-6-luna.

Copilot Desktop appears to run the CLI in the background, but the spawned agent does not appear to honor Squad's configured model. I cannot tell whether the Desktop integration ignores the requested model or does not support passing it through.

Reproduction

  1. Set .squad/config.json defaultModel to a model different from the one selected in Copilot Desktop chat (for example, gpt-6-luna).
  2. Select GPT 6.1 Sol in Copilot Desktop chat and start the Squad agent.
  3. Have Squad spawn a sub-agent and inspect the model it uses.

Expected behavior

When the runtime supports per-agent model selection, Squad-spawned agents use the model selected through Squad's configured model-resolution rules, rather than silently inheriting the Desktop chat model. If the Desktop/CLI integration cannot honor the configured model, Squad should clearly disclose that limitation.

Actual behavior

The spawned sub-agent uses the model selected in Copilot Desktop chat (GPT 6.1 Sol), rather than the configured defaultModel (gpt-6-luna).

Environment

  • GitHub Copilot Desktop
  • Squad agent started from a Desktop chat using GPT 6.1 Sol
  • Workspace .squad/config.json has defaultModel: gpt-6-luna

Related issues

These related issues are closed, but cover different cases:

  • #284: persistent model preference across sessions
  • #618: model picker aligned to the session model
  • #1720: coordinator bypassing documented per-agent model selection
  • #1377: spawning cast members as Copilot App sub-sessions
Lenguaje dominante
TypeScript
Estrellas
3.4k
Forks
516
Merge medio
1 d 15 h
PR fusionados (30 d)
116

Preparar el entorno

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/squad

Todos los issues de github/squad

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.