You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
title agent use not allowed param reasoning_effort: minimal #22796
When using github-copilot/gpt-5-mini as small_model, the title agent will fail because it only support [low, medium, high] for reasoning_effort, but got minimal
"responseBody":"{"error":{"message":"reasoning_effort \"minimal\" is not supported by model gpt-5-mini; supported values: [low medium high]","code":"invalid_reasoning_effort"}}\n","isRetryable":false,"data":{"error":{"message":"reasoning_effort "minimal" is not supported by model gpt-5-mini; supported values: [low medium high]","code":"invalid_reasoning_effort"}}}} stream error
changed the title [-]title agent use not allowed param `reasoning_effort: low`[/-][+]title agent use not allowed param `reasoning_effort: minimal`[/+]on Apr 16, 2026
Activity
github-actions commentedon Apr 16, 2026
This issue might be a duplicate of existing issues. Please check:
minimalvalue forreasoning_effortis not supported by certain OpenAI-compatible models (gpt-5.1 in that case, gpt-5-mini in yours)[-]title agent use not allowed param `reasoning_effort: low`[/-][+]title agent use not allowed param `reasoning_effort: minimal`[/+]tiger0425 commentedon Apr 16, 2026
I think this should be fixed in the reasoning-effort normalization layer rather than only in the title agent.
From the error here and the older duplicate-like report in #4451, the broader problem seems to be:
reasoning_effort: minimalgithub-copilot/gpt-5-mini) only accept[low, medium, high]Suggested fix:
reasoning_effortagainst the target model's supported values before building the requestminimalis requested but the model only supports[low, medium, high], coerceminimal -> lowreasoning_effortinstead of hard-failing a non-critical path like title generationWhy this seems better than a title-agent-only patch:
reasoning_effort: minimal#22796 is title-agent-visible, but [BUG] 'minimal' value is not support with the 'gpt-5.1' model #4451 suggests this is part of a broader reasoning-effort compatibility problemPractical fallback policy could be something like:
minimal-> sendminimallowbut notminimal-> sendlowAt minimum, applying that fallback for the title agent /
small_modelpath would unblockgpt-5-miniusers immediately.rekram1-node commentedon Apr 28, 2026
It will set it to low