Translates a reasoning level to the OpenAI request fragment to merge into settings. Returns {} when reasoning is not requested, unsupported, or disabled — so the caller can spread it unconditionally.
settings
{}
true for the Responses API (reasoning: { effort, summary }), false for Chat Completions (reasoning_effort).
true
reasoning: { effort, summary }
false
reasoning_effort
false for models without reasoning support — returns {}.
Translates a reasoning level to the OpenAI request fragment to merge into
settings. Returns{}when reasoning is not requested, unsupported, or disabled — so the caller can spread it unconditionally.