From 295917b590b7f369198984a7ab5aad31ad2139e5 Mon Sep 17 00:00:00 2001 From: ymq Date: Tue, 1 Sep 2026 14:00:19 +0800 Subject: [PATCH] =?UTF-8?q?fix(rag):=20dspy=E5=86=85dataurl=E7=94=A8?= =?UTF-8?q?=E7=BB=9D=E5=AF=B9=E8=B7=AF=E5=BE=84(jinja=E4=BB=85=E5=9C=A8.ui?= =?UTF-8?q?=E6=B8=B2=E6=9F=93)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wwwroot/engine_configs_list/engine_form.dspy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wwwroot/engine_configs_list/engine_form.dspy b/wwwroot/engine_configs_list/engine_form.dspy index e21ec76..aab4ce8 100644 --- a/wwwroot/engine_configs_list/engine_form.dspy +++ b/wwwroot/engine_configs_list/engine_form.dspy @@ -44,7 +44,7 @@ def card(title, desc, prefix, cfg): ]}, {"widgettype": "Text", "options": {"text": desc, "cfontsize": 12, "color": "#888"}}, {"widgettype": "HBox", "options": {"spacing": "12px", "wrap": True}, "subwidgets": [ - {"widgettype": "UiCode", "id": prefix + "_model", "options": {"name": prefix + "_model", "dataurl": "{{entire_url('./engine_options.dspy')}}", "text": "未配置(屏蔽)", "cwidth": 24, "allowempty": True, "value": cfg["model_id"]}}, + {"widgettype": "UiCode", "id": prefix + "_model", "options": {"name": prefix + "_model", "dataurl": "/rag/engine_configs_list/engine_options.dspy", "text": "未配置(屏蔽)", "cwidth": 24, "allowempty": True, "value": cfg["model_id"]}}, {"widgettype": "Input", "id": prefix + "_base", "options": {"label": "API Base", "name": prefix + "_base", "value": cfg["api_base"], "cwidth": 30}}, {"widgettype": "Input", "id": prefix + "_key", "options": {"label": "API Key(" + key_hint + ")", "name": prefix + "_key", "type": "password", "cwidth": 24}} ]},