fix(tools): keep command TTS deadline through exit

This commit is contained in:
CleanDev-Fix 2026-07-22 19:07:08 -04:00 committed by Teknium
parent 1b97e3efc5
commit 4e8a66dace
3 changed files with 36 additions and 9 deletions

View file

@ -328,7 +328,7 @@ Use `{{` and `}}` for literal braces.
| Key | Default | Meaning |
|--------------------|---------|------------------------------------------------------------------------------------------------------------|
| `timeout` | `120` | Seconds; the process tree is killed on expiry (Unix `killpg`, Windows `taskkill /T`). |
| `timeout` | `120` | Idle seconds; stdout or stderr output resets the deadline. The process tree is killed after inactivity (Unix `killpg`, Windows `taskkill /T`). |
| `output_format` | `mp3` | One of `mp3` / `wav` / `ogg` / `flac`. Auto-inferred from the output extension if Hermes picks a path. |
| `voice_compatible` | `false` | When `true`, Hermes converts MP3/WAV output to Opus/OGG via ffmpeg so Telegram renders a voice bubble. |
| `max_text_length` | `5000` | Input is truncated to this length before rendering the command. |