bugfix
This commit is contained in:
parent
7851e80822
commit
eab52f4da0
@ -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')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user