docs: Added documentation of the new compression control fields

2026-07-23 12:36:15 -06:00
parent f4c3a8400b
commit 92563033a9
2 changed files with 4 additions and 0 deletions
+2
@@ -279,6 +279,8 @@ The following settings can be adjusted at runtime:
| `enabled_skills` | string | Comma-separated list of enabled [skills](Skills) (e.g. `git-master,ai-slop-remover`); `null` clears the override | | `enabled_skills` | string | Comma-separated list of enabled [skills](Skills) (e.g. `git-master,ai-slop-remover`); `null` clears the override |
| `save_session` | boolean | Whether to auto-save sessions | | `save_session` | boolean | Whether to auto-save sessions |
| `compression_threshold` | integer | Token threshold for session compression | | `compression_threshold` | integer | Token threshold for session compression |
| `compression_keep_last` | integer | Number of recent messages kept visible after compression; `0` (default) compresses all messages |
| `max_tool_result_chars` | integer | Maximum characters from a single tool result forwarded to the model; `0` or omitted disables the cap |
| `max_output_tokens` | integer | Maximum output tokens for the current model | | `max_output_tokens` | integer | Maximum output tokens for the current model |
| `dry_run` | boolean | Enable/disable dry run mode | | `dry_run` | boolean | Enable/disable dry run mode |
| `function_calling_support` | boolean | Enable/disable function calling | | `function_calling_support` | boolean | Enable/disable function calling |
+2
@@ -115,6 +115,8 @@ The following settings are available to customize the default behavior of sessio
| `compression_threshold` | Defines the token count threshold at which Coyote will compress the session to save on the context length | | `compression_threshold` | Defines the token count threshold at which Coyote will compress the session to save on the context length |
| `summarization_prompt` | This is the prompt that is used to compress the session up to a given point when compression is triggered | | `summarization_prompt` | This is the prompt that is used to compress the session up to a given point when compression is triggered |
| `summary_context_prompt` | This is the prompt that's used to add the summarized conversation generated by the `summarization_prompt` as context to the model | | `summary_context_prompt` | This is the prompt that's used to add the summarized conversation generated by the `summarization_prompt` as context to the model |
| `compression_keep_last` | Number of the most recent messages to keep visible in the session after compression is triggered. Earlier messages are folded into the summary. `0` (the default) compresses all messages. |
| `max_tool_result_chars` | Caps the number of characters from any single tool result forwarded to the model. Results that exceed this limit are truncated and a notice is prepended. Useful for preventing large tool outputs from consuming context. `null` (the default) disables the cap. |
## Per-Session Settings ## Per-Session Settings
In addition to the global settings above, individual sessions can override the following settings. These can be set In addition to the global settings above, individual sessions can override the following settings. These can be set