This commit is contained in:
yumoqing 2026-02-12 14:11:50 +08:00
parent 9f6349ea62
commit ddceb69b20

View File

@ -35,6 +35,7 @@ class LLMHandler:
async for d in env.inference_generator(self.request, params_kw=kw):
try:
j = DictObject(**json.loads(d))
if j.content:
txt += j.content
except Exception as e:
exception(f'{e}\n{format_exc()}')