Skip to content

Commit 3285c50

Browse files
committed
fix OutputAcc
1 parent 8eb7822 commit 3285c50

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bindings/libchatllm.pas

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,7 @@ procedure TChatLLM.HandlePrint(APrintType: Integer; S: string);
721721
case APrintType of
722722
Ord(TPrintType.PRINT_CHAT_CHUNK):
723723
begin
724+
FOutputAcc := FOutputAcc + S;
724725
if Assigned(FOnChunk) then
725726
FOnChunk(Self, S);
726727
end;

0 commit comments

Comments
 (0)