From 82baaf3f22cc2cf81db938e043dd177c2c352e48 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Wed, 8 Apr 2026 11:43:51 +0900 Subject: [PATCH] fix(ci): update integration test MessageRequest initializers for new tuning fields openai_compat_integration.rs and client_integration.rs had MessageRequest constructions without the new tuning param fields (temperature, top_p, frequency_penalty, presence_penalty, stop) added in c667d47. Added ..Default::default() to all 4 sites. cargo fmt applied. This was the root cause of CI red on main (E0063 compile error in integration tests, not caught by --lib tests). --- rust/crates/api/tests/client_integration.rs | 3 +++ rust/crates/api/tests/openai_compat_integration.rs | 2 ++ 2 files changed, 5 insertions(+) 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() } }