diff options
| author | Paul Buetow <paul@buetow.org> | 2025-09-07 14:42:00 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-09-07 14:42:00 +0300 |
| commit | 54aa859adc8c96e8bc6551c0c7d40446144c98ea (patch) | |
| tree | c1fcea2cec46671f0719b5f61b17f8648ba9bc53 /config.toml.example | |
| parent | 4c93677c79983560eea13c372a20ed78f02af4f9 (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.example | 2 |
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." |
