summaryrefslogtreecommitdiff
path: root/config.toml.example
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-08 10:09:42 +0200
committerPaul Buetow <paul@buetow.org>2026-02-08 10:09:42 +0200
commit80808d42c257823feb873f80d06b325430c9350e (patch)
treef622fc46969db9fa332bbc5d3d0d4210d4baebb7 /config.toml.example
parentaf28afa66ae58925eed076072927f54c149dd81e (diff)
add per-project .hexaiconfig.toml config override and lower coverage target to 80%
Introduce support for a .hexaiconfig.toml file at the git repository root that selectively overrides the global config. Precedence order: defaults → global config → project config → env vars. Also lower the coverage threshold from 85% to 80%. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'config.toml.example')
-rw-r--r--config.toml.example6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.toml.example b/config.toml.example
index bb8165d..81d8ba0 100644
--- a/config.toml.example
+++ b/config.toml.example
@@ -1,4 +1,10 @@
# Hexai sectioned config example
+#
+# Global location: $XDG_CONFIG_HOME/hexai/config.toml (usually ~/.config/hexai/config.toml)
+#
+# Per-project overrides: place a .hexaiconfig.toml at the root of a git
+# repository. It uses the same format and selectively overrides the global
+# config. Environment variables (HEXAI_*) always take precedence over both.
[general]
max_tokens = 4000