feat(openai): align GPT-5.6 and Codex request contracts

This commit is contained in:
MMEXA
2026-07-11 07:40:12 +08:00
parent bc1da3bf3f
commit dfa121dd5b
178 changed files with 17947 additions and 3541 deletions
+4
View File
@@ -4381,6 +4381,7 @@ mod tests {
finish_reason: None,
response_id: Some("resp_cancel_summary_1".to_string()),
model: Some("gpt-5.4".to_string()),
provider_actual_service_tier: None,
observed_finish: true,
unknown_event_count: 0,
parser_error: None,
@@ -4587,6 +4588,7 @@ mod tests {
finish_reason: Some("stop".to_string()),
response_id: Some("resp_summary_1".to_string()),
model: Some("gpt-5.4".to_string()),
provider_actual_service_tier: None,
observed_finish: true,
unknown_event_count: 0,
parser_error: None,
@@ -5041,6 +5043,7 @@ mod tests {
finish_reason: Some("stop".to_string()),
response_id: Some("resp_image_estimate_1".to_string()),
model: Some("gpt-image-2".to_string()),
provider_actual_service_tier: None,
observed_finish: true,
unknown_event_count: 0,
parser_error: None,
@@ -5295,6 +5298,7 @@ mod tests {
finish_reason: None,
response_id: Some("resp_123".to_string()),
model: Some("gpt-5.5".to_string()),
provider_actual_service_tier: None,
observed_finish: true,
unknown_event_count: 0,
parser_error: None,