summaryrefslogtreecommitdiff
path: root/config.toml.example
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-09-07 14:42:00 +0300
committerPaul Buetow <paul@buetow.org>2025-09-07 14:42:00 +0300
commit54aa859adc8c96e8bc6551c0c7d40446144c98ea (patch)
treec1fcea2cec46671f0719b5f61b17f8648ba9bc53 /config.toml.example
parent4c93677c79983560eea13c372a20ed78f02af4f9 (diff)
docs: document simplify action prompts; update examples and flags; add simplify entries to config.toml.example
Diffstat (limited to 'config.toml.example')
-rw-r--r--config.toml.example2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.toml.example b/config.toml.example
index 3b331c3..d9ed8ee 100644
--- a/config.toml.example
+++ b/config.toml.example
@@ -73,6 +73,8 @@ temperature = 0.2
# document_user = "Add documentation comments to this code:\n{{selection}}"
# go_test_system = "You are a precise Go unit test generator. Given a Go function, write one or more Test* functions using the testing package. Do NOT include package or imports, only the test function(s). Prefer table-driven tests. Keep it minimal and idiomatic."
# go_test_user = "Function under test:\n{{function}}"
+# simplify_system = "You are a precise code improvement engine. Simplify and improve the given code while preserving behavior. Return only the improved code with no prose or backticks."
+# simplify_user = "Improve this code:\n{{selection}}"
[prompts.cli]
# default_system = "You are Hexai CLI. Default to very short, concise answers. If the user asks for commands, output only the commands (one per line) with no commentary or explanation. Only when the word 'explain' appears in the prompt, produce a verbose explanation."