fix(codex): align current reasoning request semantics

This commit is contained in:
MMEXA
2026-07-11 09:15:08 +08:00
parent dfa121dd5b
commit 46a903aada
7 changed files with 197 additions and 81 deletions
@@ -134,9 +134,8 @@ fn codex_model_card_is_complete(card: &serde_json::Map<String, Value>) -> bool {
.and_then(Value::as_str)
.is_some()
&& card
.get("supports_reasoning_summaries")
.and_then(Value::as_bool)
.is_some()
.get("supports_reasoning_summary_parameter")
.is_none_or(Value::is_boolean)
&& card
.get("support_verbosity")
.and_then(Value::as_bool)