mirror of
https://github.com/tiennm99/composes.git
synced 2026-10-11 03:13:16 +00:00
docs(hermes): record cron.wrap_response off so deliveries carry only the job output
This commit is contained in:
1 parent
672c686e5a
commit
29f52dfcb3
1 file changed
+10
@@ -87,6 +87,16 @@ one conversation with the bot, overriding `group_sessions_per_user`; every
|
|||||||
message lands in `state.db`, and each reply carries the observed backlog to the
|
message lands in `state.db`, and each reply carries the observed backlog to the
|
||||||
model provider.
|
model provider.
|
||||||
|
|
||||||
|
## Scheduled jobs
|
||||||
|
|
||||||
|
Cron deliveries carry only the job's own output: `cron.wrap_response` is
|
||||||
|
`false` in `/opt/data/config.yaml`, set with
|
||||||
|
`/opt/hermes/.venv/bin/hermes config set cron.wrap_response false`. Upstream
|
||||||
|
defaults it to `true`, which wraps every delivery in a
|
||||||
|
`Cronjob Response: <name>` header with the job ID and a "To stop or manage
|
||||||
|
this job" footer. It applies to every job; with it off, a job is managed by
|
||||||
|
asking the bot by name.
|
||||||
|
|
||||||
## Storage
|
## Storage
|
||||||
|
|
||||||
| Volume | Mount | Holds |
|
| Volume | Mount | Holds |
|
||||||
|
|||||||
Reference in new issue
Block a user