diff options
Diffstat (limited to 'config.toml.example')
| -rw-r--r-- | config.toml.example | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/config.toml.example b/config.toml.example index 26e817a..4f7d26a 100644 --- a/config.toml.example +++ b/config.toml.example @@ -68,7 +68,18 @@ chat_prefixes = ["?", "!", ":", ";"] # single-character items # temperature = 0.6 [provider] -name = "openai" # openai | openrouter | anthropic | ollama +# Ollama Cloud (ollama.ai) is the recommended default. The API key is read +# from HEXAI_OLLAMA_API_KEY (falling back to OLLAMA_API_KEY). +name = "ollama" # ollama | openai | openrouter | anthropic + +[ollama] +model = "kimi-k2.6" +base_url = "https://ollama.com" +# To run against a local Ollama server instead, point at it and pick a local +# model. No API key is required when targeting localhost. +# model = "qwen3-coder:30b-a3b-q4_K_M" +# base_url = "http://localhost:11434" +temperature = 0.2 [openai] model = "gpt-4.1" @@ -80,16 +91,6 @@ model = "openrouter/auto" base_url = "https://openrouter.ai/api/v1" temperature = 0.2 -[ollama] -model = "qwen3-coder:30b-a3b-q4_K_M" -base_url = "http://localhost:11434" -# For Ollama Cloud (ollama.ai subscription), point at the cloud endpoint and -# export an API key in the environment. The key is optional: leave it unset -# for a local Ollama server. -# base_url = "https://ollama.com" -# export HEXAI_OLLAMA_API_KEY=... # or OLLAMA_API_KEY -temperature = 0.2 - [anthropic] model = "claude-3-5-sonnet-20241022" base_url = "https://api.anthropic.com/v1" |
