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

Aberta
#2,258 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
52/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
github, typescript
Domínio
ai, cli

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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
Linguagem predominante
TypeScript
Estrelas
3.4k
Forks
516
Merge médio
1d 15h
PRs com merge (30d)
116

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de github/squad

Todas as issues de github/squad

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.