This commit is contained in:
yumoqing 2026-02-12 13:40:19 +08:00
parent 98a6644a0b
commit 95a591ef29

View File

@ -31,7 +31,7 @@ class LLMHandler:
} }
kw = DictObject(**kw) kw = DictObject(**kw)
txt = '' txt = ''
async for d in env.inference_generator(self, request, params_kw=kw): async for d in env.inference_generator(self, self.request, params_kw=kw):
debug(f'{d=}, {type(d)=}') debug(f'{d=}, {type(d)=}')
txt += d.content txt += d.content
return txt return txt