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

Aperta
#2,258 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
1-2 giorni
Idoneità per principianti
52/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github, typescript
Ambito
ai, cli

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
TypeScript
Stelle
3.4k
Fork
516
Merge medio
1g 15h
PR unite (30g)
116

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di github/squad

Tutte le issue di github/squad

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.