mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-07 18:07:47 +08:00
feat(openai): align GPT-5.6 and Codex request contracts
This commit is contained in:
@@ -115,6 +115,7 @@ pub struct ExecutionPlan {
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
pub content_encoding: Option<String>,
|
||||
pub body: RequestBody,
|
||||
/// Whether the upstream API uses a streaming response protocol.
|
||||
#[serde(default)]
|
||||
pub stream: bool,
|
||||
pub client_api_format: String,
|
||||
|
||||
@@ -132,6 +132,8 @@ pub struct ExecutionStreamTerminalSummary {
|
||||
pub response_id: Option<String>,
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
pub model: Option<String>,
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
pub provider_actual_service_tier: Option<String>,
|
||||
#[serde(default)]
|
||||
pub observed_finish: bool,
|
||||
#[serde(default, skip_serializing_if = "is_zero_u64")]
|
||||
|
||||
Reference in New Issue
Block a user