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
Bug: Copilot title generation sends invalid reasoning_effort=minimal to gpt-5-mini #22919
I hit a GitHub Copilot provider error during a normal interactive OpenCode session on macOS.
OpenCode made a title-generation request using gpt-5-mini, but the request included reasoning_effort="minimal". Copilot rejected it with:
reasoning_effort "minimal" is not supported by model gpt-5-mini; supported values: [low medium high]
This did not kill the whole session in my case, so it looks like a non-fatal bug in the title-generation / small-model path. But it does generate a real provider error in the logs.
Relevant log details from the same session:
providerID=github-copilot
modelID=gpt-5-mini
agent=title
request failed with invalid_reasoning_effort
I also confirmed that the main session continued after this, so this seems separate from normal session loop exit / idle behavior.
Plugins
None
OpenCode version
1.4.6
Steps to reproduce
Use OpenCode with the GitHub Copilot provider on macOS.
Start a normal interactive session.
Let OpenCode perform its automatic title-generation request.
Check the log file for the request made by the title/small-model path.
Observe that the request can include reasoning_effort="minimal" for gpt-5-mini.
Copilot returns a 400 with invalid_reasoning_effort.
Screenshot and/or share link
No share link. I investigated from local logs.
Error payload from the log:
reasoning_effort "minimal" is not supported by model gpt-5-mini; supported values: [low medium high]
This issue might be a duplicate of an existing issue. Please check:
title agent use not allowed param reasoning_effort: minimal #22796: Same bug — title agent sends reasoning_effort: minimal to gpt-5-mini via GitHub Copilot, which only supports [low, medium, high], causing a 400 invalid_reasoning_effort error during session title generation.
Activity
github-actions commentedon Apr 16, 2026
This issue might be a duplicate of an existing issue. Please check:
reasoning_effort: minimal#22796: Same bug — title agent sendsreasoning_effort: minimaltogpt-5-minivia GitHub Copilot, which only supports[low, medium, high], causing a 400invalid_reasoning_efforterror during session title generation.