summaryrefslogtreecommitdiff
path: root/hexai/config.toml
blob: 6382b2cc12f07da4959d2d856b850be248394e44 (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
39
# 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 qwen3-coder-next on Ollama Cloud — a
# coding-specialized model offering a good balance of speed and quality.
[[models.completion]]
provider    = "ollama"
model       = "qwen3-coder-next:cloud"
# Other cloud variants — uncomment one if qwen3-coder-next:cloud is not
# the right fit:
# model     = "ministral-3:14b-cloud"
# model     = "devstral-small-2:24b-cloud"
# model     = "gemma4:31b-cloud"
# model     = "gemma3:12b"
temperature = 0.2