feat(policy): add per-channel channelPolicies with hot-reload list mode/lists
This commit is contained in:
@@ -13,6 +13,13 @@
|
||||
"humanList": ["561921120408698910"],
|
||||
"agentList": [],
|
||||
"endSymbols": ["🔚"],
|
||||
"channelPolicies": {
|
||||
"1476369680632647721": {
|
||||
"listMode": "agent-list",
|
||||
"agentList": ["1474088632750047324"],
|
||||
"endSymbols": ["🔚"]
|
||||
}
|
||||
},
|
||||
"noReplyProvider": "whisper-gateway",
|
||||
"noReplyModel": "no-reply",
|
||||
"enableDiscordControlTool": true,
|
||||
|
||||
@@ -54,6 +54,7 @@ Environment overrides:
|
||||
- `LIST_MODE` (`human-list` or `agent-list`)
|
||||
- `HUMAN_LIST_JSON`
|
||||
- `AGENT_LIST_JSON`
|
||||
- `CHANNEL_POLICIES_JSON`
|
||||
- `END_SYMBOLS_JSON`
|
||||
|
||||
The script:
|
||||
|
||||
Reference in New Issue
Block a user