- 删除 llm_catalog_rel 表定义(models/json/xlsx)、CRUD文件、管理页面、迁移脚本 - utils.py: get_llms_by_catelog/get_llms_by_catelog_to_customer 的SQL从 llm_catalog_rel 改为 llm_api_map (加distinct去重) - init.py: 缓存清除事件从 llm_catalog_rel 改为 llm_api_map - menu.ui/index.ui: 移除类型关联菜单项 - dspy文件: v1/chat/completions, t2t, get_type_llms, list_catelog_models, list_paging_catelog_llms, llmcatelog_delete 全部改为 join llm_api_map - 迁移脚本: 添加try/except兼容旧表不存在的情况
38 lines
711 B
XML
38 lines
711 B
XML
{
|
|
"widgettype": "Menu",
|
|
"options":{
|
|
"target": "PopupWindow",
|
|
"popup_options": {
|
|
"width": "60%",
|
|
"height":"75%"
|
|
},
|
|
"items":[
|
|
{
|
|
"name":"llmusage",
|
|
"label":"模型用量",
|
|
"url":"{{entire_url('/llmage/llmusage')}}"
|
|
},
|
|
{
|
|
"name":"catelog",
|
|
"label":"模型类型",
|
|
"url":"{{entire_url('/llmage/llmcatelog')}}"
|
|
},
|
|
{
|
|
"name":"listllmprovider",
|
|
"label": "供应商模型列表",
|
|
"url":"{{entire_url('/llmage/show_llms_by_providers.ui')}}"
|
|
},
|
|
{
|
|
"name":"listllm",
|
|
"label": "模型列表",
|
|
"url":"{{entire_url('/llmage/show_llms.ui')}}"
|
|
},
|
|
{
|
|
"name":"llm",
|
|
"label":"模型",
|
|
"url":"{{entire_url('/llmage/llm')}}"
|
|
}
|
|
]
|
|
}
|
|
}
|