Skip to content

An agent-managed museum exhibit, built in Rust with Gajae-Code / LazyCodex — developed and maintained with no human intervention.

Rust

test(api): fill thinking in stream chunk fixtures

Yeachan-Heo779cf1c23435
diff --git a/rust/crates/api/src/providers/openai_compat.rs b/rust/crates/api/src/providers/openai_compat.rs
index 7fbf6367..d5291b8e 100644
--- a/rust/crates/api/src/providers/openai_compat.rs
+++ b/rust/crates/api/src/providers/openai_compat.rs
@@ -1857,6 +1857,7 @@ mod tests {
delta: super::ChunkDelta {
content: None,
reasoning_content: Some("think".to_string()),
+ thinking: None,
tool_calls: Vec::new(),
},
finish_reason: None,
@@ -1873,6 +1874,7 @@ mod tests {
delta: super::ChunkDelta {
content: Some(" answer".to_string()),
reasoning_content: None,
+ thinking: None,
tool_calls: Vec::new(),
},
finish_reason: Some("stop".to_string()),