Discover Packages
github.com/router-for-me/CLIProxyAPI/v6
internal
thinking
provider
openai
package
Version:
v6.8.21
Opens a new window with list of versions in this module.
Published: Feb 18, 2026
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package openai implements thinking configuration for OpenAI/Codex models.
OpenAI models use the reasoning_effort format with discrete levels
(low/medium/high). Some models support xhigh and none levels.
See: _bmad-output/planning-artifacts/architecture.md#Epic-8
Applier implements thinking.ProviderApplier for OpenAI models.
OpenAI-specific behavior:
Output format: reasoning_effort (string: low/medium/high/xhigh)
Level-only mode: no numeric budget support
Some models support ZeroAllowed (gpt-5.1, gpt-5.2)
NewApplier creates a new OpenAI thinking applier.
Apply applies thinking configuration to OpenAI request body.
Expected output format:
{
"reasoning_effort": "high"
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.