1.3 KiB
1.3 KiB
WhisperGate Plugin
Hook strategy
message:receivedcaches a per-session decision from deterministic rules.before_model_resolveappliesproviderOverride + modelOverridewhen decision says no-reply.before_prompt_buildprepends instruction你的这次发言必须以🔚作为结尾。when decision is:bypass_senderend_symbol:*
Rules (in order)
- non-discord -> skip
- bypass sender -> skip
- end symbol matched -> skip
- else -> no-reply override
Config
See docs/CONFIG.example.json.
Required:
noReplyProvidernoReplyModel
Optional:
enabled(default true)discordOnly(default true)listMode(human-list|agent-list, defaulthuman-list)humanList(default [])agentList(default [])bypassUserIds(deprecated alias ofhumanList)endSymbols(default ["🔚"])enableDiscordControlTool(default true)discordControlApiBaseUrl(defaulthttp://127.0.0.1:8790)discordControlApiTokendiscordControlCallerId
Optional tool: discord_control
This plugin now registers an optional tool named discord_control.
To use it, add tool allowlist entry for either:
- tool name:
discord_control - plugin id:
whispergate
Supported actions:
channel-private-createchannel-private-updatemember-list