From 216c21466f0f0f3309bbf02c0173b59ac17d6e22 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 5 May 2026 21:56:12 +0800 Subject: [PATCH] feat: add menu.ui with reasoning sessions, config and console menu items --- wwwroot/menu.ui | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 wwwroot/menu.ui diff --git a/wwwroot/menu.ui b/wwwroot/menu.ui new file mode 100644 index 0000000..c301557 --- /dev/null +++ b/wwwroot/menu.ui @@ -0,0 +1,31 @@ +{ + "widgettype":"Menu", + "options":{ + "target":"PopupWindow", + "popup_options":{ + "archor":"cc", + "width":"70%", + "height":"70%" + }, + "cwidth":10, + "items":[ +{% if get_user() %} + { + "name":"reasoning_console", + "label":"推理控制台", + "url":"{{entire_url('/harnessed_reasoning/hermes_reasoning')}}" + }, + { + "name":"reasoning_sessions", + "label":"推理会话", + "url":"{{entire_url('/harnessed_reasoning/sessions')}}" + }, + { + "name":"reasoning_config", + "label":"推理配置", + "url":"{{entire_url('/harnessed_reasoning/config')}}" + } +{% endif %} + ] + } +}