bugfix
This commit is contained in:
parent
f2528d7558
commit
20f1a25d0c
@ -118,10 +118,7 @@ async def uapi_request(request, llm, sor):
|
||||
if d.get('content'):
|
||||
txt = txt + d['content']
|
||||
yield_it = True
|
||||
if yield_it:
|
||||
yield l
|
||||
else:
|
||||
debug(f'{l} not yield')
|
||||
except Exception as e:
|
||||
exception(f'{e=},{format_exc()}')
|
||||
yield f'{{"content": f"ERROR:{e=}"}}\n'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user