feat(migration): m0029 账号钱包门禁参数——llm_wallet_balance_threshold(缺省5元)/llm_wallet_todo_role(缺省operator);配套pipeline-llm 6d0ecc5
This commit is contained in:
parent
220901ff61
commit
4f3eeb49ce
13
deploy/migrations/m0029_llm_wallet_gate_params.json
Normal file
13
deploy/migrations/m0029_llm_wallet_gate_params.json
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"id": "m0029",
|
||||
"title": "模型账号钱包门禁参数(2026-09-11 用户定夺:同供应商多账号各一个钱包=llm_account.balance;余额<阈值的账号从轮询集剔除+派生待办给属主机构operator催充值;出账成功后按流水account_id扣减对应钱包;同会话粘性账号省上游缓存钱,跨会话轮询)。llm_wallet_balance_threshold=门禁阈值元(缺省5);llm_wallet_todo_role=待办接收角色名(缺省operator,按.后缀动态匹配不锁orgtypeid)。代码有缺省兜底,参数行为可调项",
|
||||
"backup_tables": ["params"],
|
||||
"up": [
|
||||
{"op": "params_set", "key": "llm_wallet_balance_threshold", "value": "5"},
|
||||
{"op": "params_set", "key": "llm_wallet_todo_role", "value": "operator"}
|
||||
],
|
||||
"down": [
|
||||
{"op": "params_del", "key": "llm_wallet_balance_threshold"},
|
||||
{"op": "params_del", "key": "llm_wallet_todo_role"}
|
||||
]
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user