summaryrefslogtreecommitdiff
path: root/hexai/config.toml
blob: 5954eaea949923e639d4323ee79d193191f33e3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Hexai Configuration File

[mcp]
# Directory where MCP prompts are stored
prompts_dir = "~/.local/hexai/data/prompts"

# Enable automatic syncing of MCP prompts to slash command files
slashcommand_sync = true

# Directory where slash command files will be written
slashcommand_dir = "~/.cursor/commands"

# Default LLM provider for chat / CLI / code actions. The API key is read from
# the environment (HEXAI_OLLAMA_API_KEY, falling back to OLLAMA_API_KEY).
[provider]
name = "ollama"

[ollama]
model       = "gemma4:31b-cloud"
# Smaller Gemma variants on Ollama Cloud — uncomment one if gemma4:31b-cloud
# becomes too slow:
# model     = "gemma3:27b"
# model     = "gemma3:12b"
# model     = "gemma3:4b"
base_url    = "https://ollama.com"
temperature = 0.2

# In-code auto-completion uses gemma3:12b on Ollama Cloud — a good balance of
# speed and quality. Switch to a larger or smaller Gemma below if needed.
[[models.completion]]
provider    = "ollama"
model       = "gemma3:12b"
# Other Gemma variants on Ollama Cloud — uncomment one if gemma3:12b is not
# the right fit:
# model     = "gemma4:31b-cloud"
# model     = "gemma3:27b"
# model     = "gemma3:4b"
temperature = 0.2