docs: add sample config and verification guide
This commit is contained in:
30
docs/VERIFY.md
Normal file
30
docs/VERIFY.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# WhisperGate Quick Verification
|
||||
|
||||
## 1) Start no-reply API
|
||||
|
||||
```bash
|
||||
cd no-reply-api
|
||||
npm start
|
||||
```
|
||||
|
||||
## 2) Validate API behavior
|
||||
|
||||
```bash
|
||||
curl -sS http://127.0.0.1:8787/health
|
||||
curl -sS -X POST http://127.0.0.1:8787/v1/chat/completions \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '{"model":"whispergate-no-reply-v1","messages":[{"role":"user","content":"hi"}]}'
|
||||
```
|
||||
|
||||
Expected assistant text: `NO_REPLY`
|
||||
|
||||
## 3) Enable plugin
|
||||
|
||||
Set OpenClaw plugin path to `plugin/` and apply `docs/CONFIG.example.json` values.
|
||||
|
||||
## 4) Discord logic check
|
||||
|
||||
- non-discord session -> normal model
|
||||
- discord + bypass user -> normal model
|
||||
- discord + non-bypass + ending punctuation -> normal model
|
||||
- discord + non-bypass + no ending punctuation -> no-reply model override
|
||||
Reference in New Issue
Block a user