mirror of
https://github.com/openai/codex.git
synced 2026-11-13 14:46:14 +00:00
Always send reasoning parameters in Responses requests (#32206)
## What changed - Build a reasoning payload for every Responses request and always include `reasoning.encrypted_content`. - Remove `supports_reasoning_summaries` from model metadata and retire the `model_supports_reasoning_summaries` configuration override. - Use configured or model-default reasoning effort without a capability gate, including for guardian reviews and tracing. GitOrigin-RevId: 2c9f194a5d2d4d688a2235299e6358f82ab8e1ea
This commit is contained in:
1 parent
2b9c050460
commit
d2d00b6632
35 files changed
+25
-143
No files matched your search
@@ -177,13 +177,9 @@ impl TurnContext {
|
||||
}
|
||||
|
||||
pub(crate) fn effective_reasoning_effort(&self) -> Option<ReasoningEffortConfig> {
|
||||
if self.model_info.supports_reasoning_summaries {
|
||||
self.reasoning_effort
|
||||
.clone()
|
||||
.or_else(|| self.model_info.default_reasoning_level.clone())
|
||||
} else {
|
||||
None
|
||||
}
|
||||
self.reasoning_effort
|
||||
.clone()
|
||||
.or_else(|| self.model_info.default_reasoning_level.clone())
|
||||
}
|
||||
|
||||
pub(crate) fn effective_reasoning_effort_for_tracing(&self) -> String {
|
||||
|
||||
Reference in new issue
Block a user