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')
|
b = b.decode('utf-8')
|
||||||
rzt = DictObject(**json.loads(b))
|
rzt = DictObject(**json.loads(b))
|
||||||
yield b + '\n'
|
yield b + '\n'
|
||||||
if not rzt.status:
|
if not rzt.status or rzt.status == 'FAILED':
|
||||||
debug(f'{b=} return error')
|
debug(f'{b=} return error')
|
||||||
return
|
return
|
||||||
if rzt.url:
|
if rzt.url:
|
||||||
|
|||||||
@ -14,7 +14,7 @@
|
|||||||
{
|
{
|
||||||
"llmid":"{{llm.id}}",
|
"llmid":"{{llm.id}}",
|
||||||
"llmcatelogid":"{{llm.llmcatelogid}}",
|
"llmcatelogid":"{{llm.llmcatelogid}}",
|
||||||
"response_mode": "{{'stream' if llm.stream=='1' else 'sync'}}",
|
"response_mode": "{{llm.stream'}}",
|
||||||
"output_view":{{llm.output_view}},
|
"output_view":{{llm.output_view}},
|
||||||
"icon":"{{entire_url('/appbase/get_icon.dspy')}}?id={{llm.iconid}}",
|
"icon":"{{entire_url('/appbase/get_icon.dspy')}}?id={{llm.iconid}}",
|
||||||
"url":"{{entire_url('/llmage/llminference.dspy')}}",
|
"url":"{{entire_url('/llmage/llminference.dspy')}}",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user