codex: fix CI failure on PR #13531

This commit is contained in:
Ahmed Ibrahim
2026-03-04 21:15:59 -08:00
parent 5d990bce9a
commit 1bbcf2c376
2 changed files with 8 additions and 4 deletions

View File

@@ -106,6 +106,10 @@ pub(super) fn append_query_params(
query_params: Option<&HashMap<String, String>>,
model: Option<&str>,
) {
if model.is_none() && query_params.is_none_or(HashMap::is_empty) {
return;
}
let mut query = url.query_pairs_mut();
if let Some(model) = model {
query.append_pair("model", model);

View File

@@ -398,10 +398,10 @@
"prevent_idle_sleep": {
"type": "boolean"
},
"realtime_v2": {
"realtime_conversation": {
"type": "boolean"
},
"realtime_conversation": {
"realtime_v2": {
"type": "boolean"
},
"remote_models": {
@@ -1792,10 +1792,10 @@
"prevent_idle_sleep": {
"type": "boolean"
},
"realtime_v2": {
"realtime_conversation": {
"type": "boolean"
},
"realtime_conversation": {
"realtime_v2": {
"type": "boolean"
},
"remote_models": {