diff --git a/wwwroot/llm_dialog.ui b/wwwroot/llm_dialog.ui index 652f23f..c2efdcd 100644 --- a/wwwroot/llm_dialog.ui +++ b/wwwroot/llm_dialog.ui @@ -26,7 +26,7 @@ "response_mode": "{{llm.stream}}", "icon":"{{entire_url('/appbase/show_icon.dspy')}}?id={{llm.iconid}}", "url":"{{entire_url('/llmage/llminference.dspy')}}", -{% if llm.llmcatelogid %} +{% if llm.stream == 'stream' %} "stream": true, {% endif %} {% if llm.stream =='async' %} diff --git a/wwwroot/tasks/index.dspy b/wwwroot/tasks/index.dspy index 02656c4..76609d1 100644 --- a/wwwroot/tasks/index.dspy +++ b/wwwroot/tasks/index.dspy @@ -3,6 +3,7 @@ s = await get_asynctask_status(request, taskid) return { 'status': 'ok', 'data': { + 'response': s, 'resposne': s } }