Skip to content

Commit 67eaab6

Browse files
authored
Merge pull request #1279 from dcSpark/fix/openai-streaming
Fix streaming socket events.
2 parents 7c4c96d + e7d65ad commit 67eaab6

File tree

1 file changed

+2
-2
lines changed
  • shinkai-bin/shinkai-node/src/llm_provider/providers

1 file changed

+2
-2
lines changed

shinkai-bin/shinkai-node/src/llm_provider/providers/openai.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -574,8 +574,8 @@ pub async fn parse_openai_stream_chunk(
574574
content.to_string(),
575575
false,
576576
// if finish_reason is empty, we are not at the end of the stream
577-
!finish_reason.is_empty(),
578-
Some(finish_reason.to_string()),
577+
false,
578+
None,
579579
)
580580
.await?;
581581
}

0 commit comments

Comments
 (0)