Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

reasoning_effort binding to claude-haiku-4.5 model fails on sub-agent invocation

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

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
55/100
Tipo de issue
Bug
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
shell
Domínio
ai, cli

Direção de pesquisa

Look for the sub-agent invocation logic and where the reasoning_effort parameter is injected for the claude-haiku-4.5 model. Check the model configuration or validation code to see if this model supports reasoning_effort. The error suggests a recent change; compare recent commits around model handling. Test by running a sub-agent with the specified model and see if the parameter can be omitted conditionally.

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

Descrição

area:agents area:models
Describe the bug

My custom build-agent, which worked up through yesterday, (and likely any custom subagent whose  /subagents  config pins model  claude-haiku-4.5 ) fails every invocation with:  Reasoning effort 'low' is not supported for model 'claude-haiku-4.5' . Reproduced regardless of whether  reasoning_effort  is omitted or explicitly set ( low / medium / minimal ) in the  task  tool call — the runtime appears to always inject a  reasoning_effort  value for this model, which the model doesn't support at all. First seen 2026-09-22; sessions from 2026-09-14 through 2026-09-21 using the same  build-agent  config succeeded without this error, so it looks like a recent regression. Session:  e8b4c267-83c7-431f-9a10-ede4dd88f8cf .

Affected version

GitHub Copilot CLI 1.0.87

Steps to reproduce the behavior
  1. Invoke the sub-agent whose model is set to claude-haiku-4.5
  2. Fails as described above
Expected behavior

Sub-agent invocation succeeds.

Additional context

windows 11, x86_64

Linguagem predominante
Shell
Estrelas
11.2k
Forks
1.9k
Merge médio
14h 16min
PRs com merge (30d)
6

Guia de contribuição

Abrir o guia de contribuição

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/copilot-cli

Todas as issues de github/copilot-cli

Issues semelhantes

Mais issues de Shell/Bash

Receba novas issues na sua caixa de entrada

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