-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example
More file actions
59 lines (52 loc) · 1.72 KB
/
config.example
File metadata and controls
59 lines (52 loc) · 1.72 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Save to ~/.config/3code/config
#
# Values are Nim string literals — always wrap them in double quotes.
# parsecfg treats ':', '=', and '#' as syntax in unquoted values, so
# unquoted URLs or API keys will silently truncate or drop.
[settings]
current = "baseten.glm5"
; current = "openai.gpt-4o-mini"
; auto_update = "true" ; on for prebuilt binaries, off for source builds
; search-url overrides the engine used by the `web_search` tool. The
; query is URL-encoded and appended verbatim, so the value must end at
; the point where the query goes (typically `?q=` or `&q=`). Default
; is Startpage with the web filter; the parser is tuned for Startpage's
; SERP, so swap only for a Startpage-compatible mirror.
; search-url = "https://www.startpage.com/do/search?cat=web&q="
[provider]
name = "baseten"
url = "https://inference.baseten.co/v1"
key = "..."
models = "glm5 qwen3c"
[provider]
name = "openai"
url = "https://api.openai.com/v1"
key = "sk-..."
models = "gpt-4o-mini gpt-4o"
[provider]
name = "groq"
url = "https://api.groq.com/openai/v1"
key = "gsk_..."
models = "llama-3.3-70b-versatile llama-3.1-8b-instant"
[provider]
name = "openrouter"
url = "https://openrouter.ai/api/v1"
key = "sk-or-..."
models = "openai/gpt-oss-120b"
[provider]
name = "together"
url = "https://api.together.xyz/v1"
key = "..."
model_prefix = "meta-llama/"
models = "Llama-3.3-70B-Instruct-Turbo"
# `family` is an experimental-only override (only honored under
# `--experimental`) that picks the system-prompt branch by family
# name, when the (provider, model) combo isn't on the known-good
# list. Known-good combos ignore it.
;
; [provider]
; name = "deepseek"
; url = "https://api.deepseek.com/v1"
; key = "..."
; family = "deepseek"
; models = "deepseek-chat"