parent
c61911524d
commit
0aa7efe05b
1 changed files with 2 additions and 1 deletions
|
|
@ -403,6 +403,8 @@ async fn process_sse<S>(
|
|||
}
|
||||
};
|
||||
|
||||
trace!("SSE event: {}", sse.data);
|
||||
|
||||
let event: SseEvent = match serde_json::from_str(&sse.data) {
|
||||
Ok(event) => event,
|
||||
Err(e) => {
|
||||
|
|
@ -411,7 +413,6 @@ async fn process_sse<S>(
|
|||
}
|
||||
};
|
||||
|
||||
trace!(?event, "SSE event");
|
||||
match event.kind.as_str() {
|
||||
// Individual output item finalised. Forward immediately so the
|
||||
// rest of the agent can stream assistant text/functions *live*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue