Update chat_model.py

This commit is contained in:
Kevin Hu 2025-12-09 18:51:54 +08:00 committed by GitHub
parent 520c7680dc
commit 7496484eec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -192,6 +192,7 @@ class Base(ABC):
e = await self._exceptions_async(e, attempt)
if e:
yield e
yield total_tokens
def _length_stop(self, ans):
if is_chinese([ans]):