From 6a33c5e9aac91a168ce7a1df00e8102456287730 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sat, 16 May 2026 15:14:31 +0800 Subject: [PATCH] bugfix --- wwwroot/llm_dialog.ui | 2 +- wwwroot/tasks/index.dspy | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 } }