Fix: Missing `signature` and `toolSignatures` fields in `ChatCompletionService` streaming state (#5439) * Fix: Add signature and toolSignatures fields to ChatCompletionService streaming state object * fix: pass images array to getStreamingReply --------- Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
Signed| @@ -505,7 +505,7 @@ export class ChatCompletionService { | ||
| 505 | 505 | return async function* streamData() { |
| 506 | 506 | let text = ''; |
| 507 | 507 | const swipes = []; |
| 508 | 508 | const state = { reasoning: '', imageimages: [], signature: '', toolSignatures: {} }; |
| 509 | 509 | while (true) { |
| 510 | 510 | const { done, value } = await reader.read(); |
| 511 | 511 | if (done) return; |