mirror of
https://wget.la/https://github.com/leookun/cursor-byok
synced 2026-12-01 01:05:10 +08:00
Merge pull request #395 from kevin9327/chore/restore-make-check-green
chore: restore a green `make check` on main
This commit is contained in:
4 files changed
+26
-16
No files matched your search
@@ -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") {
|
||||
|
||||
Reference in new issue
Block a user