-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.example
More file actions
86 lines (77 loc) · 2.87 KB
/
Copy pathconfig.example
File metadata and controls
86 lines (77 loc) · 2.87 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# 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="
; notify = off ; turn off the desktop notification that fires when a turn ends (on by default)
; bash_path = "C:\\tools\\msys64\\usr\\bin\\bash.exe" ; Windows only: override bash detection
# Colour mode. 3code picks dark or light automatically from $COLORFGBG
# (a light terminal background triggers light mode; the macOS default
# white Terminal does, for instance). Override with --light / --dark on
# the command line.
#
# The white-family colours can be overridden per mode. A plain key sets
# BOTH modes; a "-light" key sets light mode only and wins there. Keys
# are bright-white, off-white, dim-white. Values are quoted ANSI escape
# sequences (parsecfg interprets backslash escapes, so "\x1b[30m" becomes
# a real ESC byte). Defaults:
# bright-white = "\x1b[97m" (dark) / "\x1b[30m" (light, black)
# off-white = "\x1b[38;5;252m" / "\x1b[38;5;238m"
# dim-white = "\x1b[38;5;244m" / "\x1b[38;5;250m"
# The colourful colours (cyan/green/red/magenta) are fixed in both modes.
;
; [colors]
; bright-white = "\x1b[37m"
; bright-white-light = "\x1b[30m"
[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"
[provider]
name = "longcat"
url = "https://api.longcat.chat/openai"
key = "..."
models = "LongCat-2.0"
# `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"