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).
This commit is contained in:
YeonGyu-Kim
2026-04-08 11:43:51 +09:00
parent c7b3296ef6
commit 82baaf3f22
2 changed files with 5 additions and 0 deletions

View File

@@ -127,6 +127,7 @@ async fn send_message_blocks_oversized_requests_before_the_http_call() {
tools: None, tools: None,
tool_choice: None, tool_choice: None,
stream: false, stream: false,
..Default::default()
}) })
.await .await
.expect_err("oversized request should fail local context-window preflight"); .expect_err("oversized request should fail local context-window preflight");
@@ -741,6 +742,7 @@ async fn live_stream_smoke_test() {
tools: None, tools: None,
tool_choice: None, tool_choice: None,
stream: false, stream: false,
..Default::default()
}) })
.await .await
.expect("live stream should start"); .expect("live stream should start");
@@ -921,5 +923,6 @@ fn sample_request(stream: bool) -> MessageRequest {
}]), }]),
tool_choice: Some(ToolChoice::Auto), tool_choice: Some(ToolChoice::Auto),
stream, stream,
..Default::default()
} }
} }

View File

@@ -88,6 +88,7 @@ async fn send_message_blocks_oversized_xai_requests_before_the_http_call() {
tools: None, tools: None,
tool_choice: None, tool_choice: None,
stream: false, stream: false,
..Default::default()
}) })
.await .await
.expect_err("oversized request should fail local context-window preflight"); .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), tool_choice: Some(ToolChoice::Auto),
stream, stream,
..Default::default()
} }
} }