diff --git a/rust/crates/api/tests/client_integration.rs b/rust/crates/api/tests/client_integration.rs index 9d45cc7..512e346 100644 --- a/rust/crates/api/tests/client_integration.rs +++ b/rust/crates/api/tests/client_integration.rs @@ -127,6 +127,7 @@ async fn send_message_blocks_oversized_requests_before_the_http_call() { tools: None, tool_choice: None, stream: false, + ..Default::default() }) .await .expect_err("oversized request should fail local context-window preflight"); @@ -741,6 +742,7 @@ async fn live_stream_smoke_test() { tools: None, tool_choice: None, stream: false, + ..Default::default() }) .await .expect("live stream should start"); @@ -921,5 +923,6 @@ fn sample_request(stream: bool) -> MessageRequest { }]), tool_choice: Some(ToolChoice::Auto), stream, + ..Default::default() } } diff --git a/rust/crates/api/tests/openai_compat_integration.rs b/rust/crates/api/tests/openai_compat_integration.rs index 2dd90a2..d5596bb 100644 --- a/rust/crates/api/tests/openai_compat_integration.rs +++ b/rust/crates/api/tests/openai_compat_integration.rs @@ -88,6 +88,7 @@ async fn send_message_blocks_oversized_xai_requests_before_the_http_call() { tools: None, tool_choice: None, stream: false, + ..Default::default() }) .await .expect_err("oversized request should fail local context-window preflight"); @@ -496,6 +497,7 @@ fn sample_request(stream: bool) -> MessageRequest { }]), tool_choice: Some(ToolChoice::Auto), stream, + ..Default::default() } }