- Update json/llm.json subtable from llm_catelog_rel to llm_api_map - Rewrite json/llm_api_map.json as standard CRUD format (tblname+params) - Add models/llm_api_map.json table definition (summary/fields/indexes/codes) - Add independent management UI (llm_api_map_manage.ui) - Add CRUD DSPY APIs (list/create/delete/options) with ownerid filtering - All operations verify l.ownerid for data isolation - Add uapi_options.dspy for API selection dropdown
28 lines
889 B
JSON
28 lines
889 B
JSON
{
|
|
"tblname": "llm_api_map",
|
|
"title": "模型能力映射",
|
|
"params": {
|
|
"browserfields": {
|
|
"exclouded": ["id", "llmid"],
|
|
"alters": {
|
|
"llmcatelogid": {
|
|
"dataurl": "{{entire_url('../api/llm_catelog_options.dspy')}}",
|
|
"textField": "name",
|
|
"valueField": "id"
|
|
},
|
|
"apiname": {
|
|
"dataurl": "{{entire_url('../api/uapi_options.dspy')}}",
|
|
"textField": "name",
|
|
"valueField": "name"
|
|
},
|
|
"ppid": {
|
|
"dataurl": "{{entire_url('/pricing/get_all_pricing_programs.dspy')}}",
|
|
"textField": "name",
|
|
"valueField": "id"
|
|
}
|
|
}
|
|
},
|
|
"editexclouded": ["id", "llmid"]
|
|
}
|
|
}
|