pipeline-llm/json/llm_account_by_vendor.json

75 lines
1.8 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"tblname": "llm_account",
"alias": "llm_account_by_vendor",
"title": "供应商账号",
"params": {
"sortby": "name",
"logined_userorgid": "org_id",
"browserfields": {
"exclouded": [
"id",
"api_key",
"vendor_id"
],
"alters": {
"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",
"vendor_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"
],
"toolbar": {
"tools": [
{
"name": "recharge",
"label": "💰 充值登记",
"selected_row": true
}
]
},
"binds": [
{
"wid": "self",
"event": "recharge",
"actiontype": "urlwidget",
"target": "PopupWindow",
"popup_options": {
"title": "充值登记",
"width": "52%",
"height": "62%",
"resizable": true
},
"options": {
"url": "{{entire_url('../api/llm_account_recharge_popup.dspy')}}"
}
}
]
}
}