-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
61 lines (53 loc) · 1.37 KB
/
config.example.yaml
File metadata and controls
61 lines (53 loc) · 1.37 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
app:
name: librecode
env: development
working_loader:
text: Shenaniganing...
logging:
level: info
format: pretty
database:
# Empty path resolves to ./.librecode/librecode.db when present, otherwise
# ~/.librecode/librecode.db.
path: ""
apply_migrations: true
max_open_conns: 1
max_idle_conns: 1
conn_max_lifetime: 30m
extensions:
enabled: true
# Extension sources use scheme:value syntax. Startup loads only entries listed
# here; extra directories on disk are ignored unless explicitly declared.
use:
# Shorthand string form.
- path:.librecode/extensions
- official:vim-mode
- github:example/librecode-extension
- github:example/monorepo//extensions/fancy
- path:/absolute/or/relative/extension
# Object form with version pinning.
- source: official:vim-mode
version: v0.1.0
- source: github:example/librecode-extension
version: v1.2.3
assistant:
provider: openai-codex
model: gpt-5.5
thinking_level: off
retry:
enabled: true
max_attempts: 3
base_delay: 2s
max_delay: 30s
cache:
enabled: true
capacity: 512
ttl: 10m
ksql:
endpoint: ""
timeout: 10s
# Built-in hard limits protect memory usage for untrusted input/remote bodies:
# - prompt stdin: 1 MiB
# - `librecode tool run ... -` JSON stdin: 1 MiB
# - provider response/error bodies: 16 MiB
# - ksqlDB response bodies: 8 MiB