bugfix
This commit is contained in:
parent
20f1a25d0c
commit
182f14776d
@ -118,7 +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
|
||||||
yield l
|
yield json.dumps(d) + '\n'
|
||||||
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'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user