Merge pull request #395 from kevin9327/chore/restore-make-check-green

chore: restore a green `make check` on main
This commit is contained in:
leokun authored and GitHub committed 2026-09-03 00:32:31 +08:00
commit 8fdcdd7f84
4 files changed
+26 -16

No files matched your search

+2 -3
View File
@@ -151,9 +151,8 @@ impl Provider for OpenAiResponsesProvider {
if !thinking_open { thinking_open = true; yield ModelEvent::ThinkingStart; }
if let Some(delta) = value.get("delta").and_then(Value::as_str) { yield ModelEvent::ThinkingDelta(delta.into()); }
}
"response.reasoning_summary_text.done" | "response.reasoning_text.done" => {
if thinking_open { thinking_open = false; yield ModelEvent::ThinkingEnd; }
}
"response.reasoning_summary_text.done" | "response.reasoning_text.done"
if thinking_open => { thinking_open = false; yield ModelEvent::ThinkingEnd; }
"response.output_item.added" => {
let item = value.get("item").unwrap_or(&Value::Null);
if item.get("type").and_then(Value::as_str) == Some("function_call") {