52 lines
1.4 KiB
JSON
52 lines
1.4 KiB
JSON
{
|
||
"tblname": "llm_account",
|
||
"title": "供应商账号",
|
||
"params": {
|
||
"sortby": "name",
|
||
"logined_userorgid": "org_id",
|
||
"browserfields": {
|
||
"exclouded": [
|
||
"id",
|
||
"api_key"
|
||
],
|
||
"alters": {
|
||
"vendor_id": {
|
||
"uitype": "code",
|
||
"dataurl": "{{entire_url('../api/get_llm_vendor_options.dspy')}}",
|
||
"valueField": "value",
|
||
"textField": "text"
|
||
},
|
||
"status": {
|
||
"uitype": "code",
|
||
"dataurl": "{{entire_url('../api/get_llm_status_options.dspy')}}",
|
||
"valueField": "value",
|
||
"textField": "text"
|
||
},
|
||
"api_key": {
|
||
"uitype": "password",
|
||
"placeholder": "供应商 API Key(加密存储;编辑时留空=不修改)"
|
||
},
|
||
"endpoint_ids": {
|
||
"placeholder": "选用的端点下标(从0开始,对应供应商端点目录行号),逗号分隔,如 0,1"
|
||
}
|
||
}
|
||
},
|
||
"editexclouded": [
|
||
"id",
|
||
"org_id",
|
||
"balance",
|
||
"total_recharge",
|
||
"created_at",
|
||
"updated_at"
|
||
],
|
||
"editable": {
|
||
"new_data_url": "{{entire_url('../api/add_llm_account.dspy')}}",
|
||
"update_data_url": "{{entire_url('../api/update_llm_account.dspy')}}",
|
||
"delete_data_url": "{{entire_url('../api/delete_llm_account.dspy')}}"
|
||
},
|
||
"confidential_fields": [
|
||
"api_key"
|
||
]
|
||
}
|
||
}
|