Files
Dirigent/docs/CONFIG.example.json

61 lines
1.6 KiB
JSON

{
"plugins": {
"load": {
"paths": ["/path/to/WhisperGate/dist/whispergate"]
},
"entries": {
"whispergate": {
"enabled": true,
"config": {
"enabled": true,
"discordOnly": true,
"listMode": "human-list",
"humanList": ["561921120408698910"],
"agentList": [],
"endSymbols": ["🔚"],
"channelPoliciesFile": "~/.openclaw/whispergate-channel-policies.json",
"noReplyProvider": "whisper-gateway",
"noReplyModel": "no-reply",
"enableDiscordControlTool": true,
"enableWhispergatePolicyTool": true,
"enableDebugLogs": false,
"debugLogChannelIds": [],
"discordControlApiBaseUrl": "http://127.0.0.1:8790",
"discordControlApiToken": "<DISCORD_CONTROL_AUTH_TOKEN>",
"discordControlCallerId": "agent-main"
}
}
}
},
"models": {
"providers": {
"whisper-gateway": {
"apiKey": "<NO_REPLY_API_TOKEN_OR_PLACEHOLDER>",
"baseUrl": "http://127.0.0.1:8787/v1",
"api": "openai-completions",
"models": [
{
"id": "no-reply",
"name": "No Reply",
"reasoning": false,
"input": ["text"],
"cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
"contextWindow": 4096,
"maxTokens": 64
}
]
}
}
},
"agents": {
"list": [
{
"id": "main",
"tools": {
"allow": ["whispergate"]
}
}
]
}
}