fix(codex): correct codex reasoning effort conversion (#6523)
Signed-off-by: Federico G. Schwindt <fgsch@lodoss.net>
This commit is contained in:
committed by
GitHub
parent
b8810be806
commit
4d608690b8
@@ -56,7 +56,7 @@ impl CodexProvider {
|
||||
// Get reasoning effort from config, default to "high"
|
||||
let reasoning_effort = config
|
||||
.get_codex_reasoning_effort()
|
||||
.map(|r| r.to_string())
|
||||
.map(String::from)
|
||||
.unwrap_or_else(|_| "high".to_string());
|
||||
|
||||
// Validate reasoning effort
|
||||
|
||||
Reference in New Issue
Block a user