Refactor model ID checks for GPT 5.x model family
All GPT-5.x series models don't support minimal as the reasoningEffort. Currently, it is enabled only for GPT-5.1 and GPT-5.2 models to set the reasoningEffort as low. This would start throwing errors like these.
Unsupported value: 'minimal' is not supported with the 'gpt-5.4' model. Supported values are: 'none', 'low', 'medium', 'high', and 'xhigh'.
This PR fixes the behavior to set the reasoning effort as low for all GPT-5.x series models so that we don't need to manually patch it every time when a new SOTA model is released.
Summary by cubic
Set reasoningEffort to "low" for all GPT-5.x models to prevent unsupported "minimal" errors on new releases like gpt-5.4. Use a precise gpt-5. match (not version-specific) and keep codex excluded, removing the need for manual patches.