- Add SDLC dashboard, pipeline editor, ops center UI - build.sh: clone business modules to pkgs/, xls2ui CRUD, fix created_by - global_func.py: password_encode None-safe wrapper - pipeline_app.py: permission cache warmup removed - load_path.py: RBAC permission registration for all modules - scripts/merge_i18n.py: i18n merge tool - bin/init_perms.py, bin/init_data.py: init scripts - set_role_perm.py: single permission registration - Model uitype fields set for form editing - pipeline_core/pipeline_ops load_path.py scripts
26 lines
1.2 KiB
JSON
26 lines
1.2 KiB
JSON
{
|
|
"summary": [
|
|
{
|
|
"name": "llm",
|
|
"title": "大语言模型表",
|
|
"primary": ["id"]
|
|
}
|
|
],
|
|
"fields": [
|
|
{"name": "id", "title": "主键", "type": "str", "length": 32, "nullable": "no"},
|
|
{"name": "name", "title": "模型名称", "type": "str", "length": 100, "nullable": "no"},
|
|
{"name": "provider", "title": "供应商", "type": "str", "length": 50, "nullable": "no"},
|
|
{"name": "model_id", "title": "模型标识", "type": "str", "length": 100},
|
|
{"name": "api_base", "title": "API地址", "type": "str", "length": 500},
|
|
{"name": "api_key", "title": "API密钥", "type": "str", "length": 500},
|
|
{"name": "max_tokens", "title": "最大Token", "type": "int", "default": "8192"},
|
|
{"name": "status", "title": "状态", "type": "str", "length": 20, "default": "active"},
|
|
{"name": "description", "title": "描述", "type": "text"},
|
|
{"name": "created_at", "title": "创建时间", "type": "timestamp"},
|
|
{"name": "updated_at", "title": "更新时间", "type": "timestamp"}
|
|
],
|
|
"indexes": [
|
|
{"name": "idx_llm_status", "idxtype": "index", "idxfields": ["status"]}
|
|
]
|
|
}
|