This commit is contained in:
yumoqing 2025-09-04 13:50:19 +08:00
parent 7851e80822
commit eab52f4da0

View File

@ -77,7 +77,7 @@ async def uapi_request(request, sor, caller_orgid, callerid, uapi, llm, params):
txt = '' txt = ''
async for l in uapi.stream_linify(llm.upappid, llm.apiname, userid, params=params): async for l in uapi.stream_linify(llm.upappid, llm.apiname, userid, params=params):
if l and l != '[DONE]': if l and l != '[DONE]':
yiled_it = False yield_it = False
d = json.loads(l) d = json.loads(l)
if d.get('reasoning_content'): if d.get('reasoning_content'):
txt += d.get('reasoning_content') txt += d.get('reasoning_content')