summaryrefslogtreecommitdiff
path: root/config.toml.example
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-11-02 23:42:15 +0200
committerPaul Buetow <paul@buetow.org>2025-11-02 23:42:15 +0200
commit35e1de6f975088ade5dbf0af533fe6fdac8fcc94 (patch)
treec9fc9b6ad86cc10a777b3f510c3c4b2d62c41ebd /config.toml.example
parentc60d5703d25b7d76d1da2f368b0632f08a161644 (diff)
some linter fixes
Diffstat (limited to 'config.toml.example')
-rw-r--r--config.toml.example7
1 files changed, 6 insertions, 1 deletions
diff --git a/config.toml.example b/config.toml.example
index cd10e73..84f716e 100644
--- a/config.toml.example
+++ b/config.toml.example
@@ -3,7 +3,12 @@
[general]
max_tokens = 4000
max_context_tokens = 4000
-context_mode = "always-full" # minimal | window | file-on-new-func | always-full
+# context_mode controls how much of the current document is sent as extra context:
+# - minimal: no additional context beyond the request payload.
+# - window: include a sliding window of ~context_window_lines around the cursor.
+# - file-on-new-func: include the full file only when starting a new function.
+# - always-full: always include the entire open file.
+context_mode = "always-full"
context_window_lines = 120
coding_temperature = 0.2 # single knob for LSP calls (optional)