SIGN IN SIGN UP

llama.swiftui: fix end of generation bug (#8268)

* fix continuing generating blank lines after getting EOT token or EOS token from LLM

* change variable name to is_done (variable name suggested by ggerganov)

* minor : fix trailing whitespace

* minor : add space

---------

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
H
Huifeng Ou committed
69b9945b44c3057ec17cb556994cd36060455d44
Parent: c3776ca
Committed by GitHub <noreply@github.com> on 7/20/2024, 1:09:37 PM