mirror of
https://github.com/openai/codex.git
synced 2026-05-02 04:11:39 +03:00
Request compression is no longer tied to the provider
This commit is contained in:
@@ -351,7 +351,7 @@ fn push_tool_call_message(messages: &mut Vec<Value>, tool_call: Value, reasoning
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use crate::provider::RequestCompression;
|
||||
|
||||
use crate::provider::RetryConfig;
|
||||
use crate::provider::WireApi;
|
||||
use codex_protocol::models::FunctionCallOutputPayload;
|
||||
@@ -375,7 +375,6 @@ mod tests {
|
||||
retry_5xx: true,
|
||||
retry_transport: true,
|
||||
},
|
||||
request_compression: RequestCompression::None,
|
||||
stream_idle_timeout: Duration::from_secs(1),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -172,7 +172,7 @@ fn attach_item_ids(payload_json: &mut Value, original_items: &[ResponseItem]) {
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use crate::provider::RequestCompression;
|
||||
|
||||
use crate::provider::RetryConfig;
|
||||
use crate::provider::WireApi;
|
||||
use codex_protocol::protocol::SubAgentSource;
|
||||
@@ -194,7 +194,6 @@ mod tests {
|
||||
retry_5xx: true,
|
||||
retry_transport: true,
|
||||
},
|
||||
request_compression: RequestCompression::None,
|
||||
stream_idle_timeout: Duration::from_secs(5),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user