-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.toml
More file actions
76 lines (60 loc) · 1.39 KB
/
Copy pathconfig.example.toml
File metadata and controls
76 lines (60 loc) · 1.39 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
[app]
name = "thunk"
[ui]
show_activity = true
[llm]
provider = "llama_cpp"
[llama_cpp]
# Path to your local GGUF model file
model_path = "data/models/your-model.gguf"
# Performance tuning (adjust based on your hardware)
gpu_layers = 20
context_tokens = 8192
batch_tokens = 2048
max_tokens = 512
temperature = 0.3
# Enable for debugging llama.cpp internals
show_native_logs = false
[openai]
model = "gpt-4o"
base_url = "https://api.openai.com/v1"
max_tokens = 512
temperature = 0.2
[ollama]
model = "qwen2.5-coder:1.5b"
base_url = "http://localhost:11434"
max_tokens = 512
temperature = 0.2
constrained_output = true
[openrouter]
model = "anthropic/claude-3-haiku"
base_url = "https://openrouter.ai/api/v1"
max_tokens = 512
temperature = 0.2
[groq]
model = "llama-3.1-8b-instant"
base_url = "https://api.groq.com/openai/v1"
max_tokens = 512
temperature = 0.2
# Custom command definitions
[commands.find_def]
tool = "search_code"
args = { query = "{input}" }
[commands.show]
tool = "read_file"
args = { path = "{input}" }
[project]
test_command = "cargo test"
[lsp]
enabled = true
[prompt_physics]
enabled = true
[retrieval]
embedding_model = "nomic-embed-text"
vector_weight = 0.3
# Proactive intelligence: a background worker periodically scans personal memory
# for stale facts and surfaces approval-gated proposals. Always respects /dnd.
[proactive]
enabled = true
interval_secs = 300
staleness_days = 7