summaryrefslogtreecommitdiff
path: root/config.toml.example
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-10-02 08:41:45 +0300
committerPaul Buetow <paul@buetow.org>2025-10-02 08:41:45 +0300
commite36a5446bc62842ae3b3e165f66fecb7285a8c6a (patch)
treed3f9f7a66d8b4e5fdb13903722580a8f90eae5d1 /config.toml.example
parentf14eb9199f4e1aee49594e590c08996244bb77b3 (diff)
feat: add OpenRouter providerv0.15.0
Diffstat (limited to 'config.toml.example')
-rw-r--r--config.toml.example7
1 files changed, 6 insertions, 1 deletions
diff --git a/config.toml.example b/config.toml.example
index e054ef0..9aa217f 100644
--- a/config.toml.example
+++ b/config.toml.example
@@ -55,13 +55,18 @@ chat_prefixes = ["?", "!", ":", ";"] # single-character items
# temperature = 0.6
[provider]
-name = "openai" # openai | copilot | ollama
+name = "openai" # openai | openrouter | copilot | ollama
[openai]
model = "gpt-4.1"
base_url = "https://api.openai.com/v1"
temperature = 0.2
+[openrouter]
+model = "openrouter/auto"
+base_url = "https://openrouter.ai/api/v1"
+temperature = 0.2
+
[copilot]
model = "gpt-4o-mini"
base_url = "https://api.githubcopilot.com"