grokkit/config.toml.example
Gregory Gauthier 24be047322
All checks were successful
CI / Test (push) Successful in 30s
CI / Lint (push) Successful in 25s
CI / Build (push) Successful in 19s
feat(config): add per-command model defaults
Introduce support for per-command model defaults in config.toml, overriding global default if set. Update GetModel to accept command name and prioritize: flag > command default > global default. Add example config file and adjust all commands to pass their name. Update tests accordingly.
2026-03-02 16:56:56 +00:00

30 lines
811 B
Plaintext

# Example configuration file for Grokkit
# Copy this to ~/.config/grokkit/config.toml and customize as needed.
default_model = "grok-4"
temperature = 0.7
log_level = "info"
timeout = 60
# Model aliases (shorthand names)
[aliases]
beta = "grok-beta-2"
fast = "grok-4-1-fast-non-reasoning"
# Per-command model defaults (overrides code defaults if set)
[commands]
lint.model = "grok-4-1-fast-non-reasoning" # Fast model for code fixes
agent.model = "grok-4" # Reasoning model for agent tasks
chat.model = "grok-4"
commit.model = "grok-4"
commitmsg.model = "grok-4"
edit.model = "grok-4-1-fast-non-reasoning"
history.model = "grok-4"
prdescribe.model = "grok-4"
review.model = "grok-4"
# Chat history settings
[chat]
history_file = "~/.config/grokkit/chat_history.json"