bugfix
This commit is contained in:
parent
4914ddf4dd
commit
a38a718980
@ -132,7 +132,7 @@ async def async_uapi_request(request, llm, sor):
|
||||
b = b.decode('utf-8')
|
||||
rzt = DictObject(**json.loads(b))
|
||||
yield b + '\n'
|
||||
if not rzt.status:
|
||||
if not rzt.status or rzt.status == 'FAILED':
|
||||
debug(f'{b=} return error')
|
||||
return
|
||||
if rzt.url:
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
{
|
||||
"llmid":"{{llm.id}}",
|
||||
"llmcatelogid":"{{llm.llmcatelogid}}",
|
||||
"response_mode": "{{'stream' if llm.stream=='1' else 'sync'}}",
|
||||
"response_mode": "{{llm.stream'}}",
|
||||
"output_view":{{llm.output_view}},
|
||||
"icon":"{{entire_url('/appbase/get_icon.dspy')}}?id={{llm.iconid}}",
|
||||
"url":"{{entire_url('/llmage/llminference.dspy')}}",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user