This commit is contained in:
yumoqing 2025-09-19 15:14:07 +08:00
parent f2528d7558
commit 20f1a25d0c

View File

@ -118,10 +118,7 @@ async def uapi_request(request, llm, sor):
if d.get('content'): if d.get('content'):
txt = txt + d['content'] txt = txt + d['content']
yield_it = True yield_it = True
if yield_it:
yield l yield l
else:
debug(f'{l} not yield')
except Exception as e: except Exception as e:
exception(f'{e=},{format_exc()}') exception(f'{e=},{format_exc()}')
yield f'{{"content": f"ERROR:{e=}"}}\n' yield f'{{"content": f"ERROR:{e=}"}}\n'