fix: correct agent config form URLs and add config management menu item
- Fix agent_config_form.ui data_url and submit_url paths (wwwroot/ to wwwroot/api/ needs 'api/', not '../api/') - Add '配置管理' menu entry to menu.ui pointing to harnessed_agent_config_view CRUD
This commit is contained in:
parent
4e65ff8fe4
commit
d22dfdf383
@ -17,9 +17,9 @@
|
||||
"widgettype": "Form",
|
||||
"id": "agent_config_form",
|
||||
"options": {
|
||||
"data_url": "{{entire_url('../api/agent_config_get.dspy')}}",
|
||||
"data_url": "{{entire_url('api/agent_config_get.dspy')}}",
|
||||
"data_method": "GET",
|
||||
"submit_url": "{{entire_url('../api/agent_config_save.dspy')}}",
|
||||
"submit_url": "{{entire_url('api/agent_config_save.dspy')}}",
|
||||
"method": "POST",
|
||||
"layout": "vertical",
|
||||
"fields": [
|
||||
|
||||
@ -25,6 +25,11 @@
|
||||
"label":"代理配置",
|
||||
"url":"{{entire_url('/harnessed_agent/agent_config.ui')}}"
|
||||
},
|
||||
{
|
||||
"name":"harnessed_agent_config_view",
|
||||
"label":"配置管理",
|
||||
"url":"{{entire_url('/harnessed_agent/harnessed_agent_config_view')}}"
|
||||
},
|
||||
{
|
||||
"name":"sessions",
|
||||
"label":"会话管理",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user