-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontext.toml.example
More file actions
64 lines (59 loc) · 1.6 KB
/
Copy pathcontext.toml.example
File metadata and controls
64 lines (59 loc) · 1.6 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
[common]
output = ".ctxt/ctx_index.json"
synonym_cache = ".ctxt/ctx_cache.json"
llm_model = "meta-llama/llama-3.1-8b-instruct" # any OpenAI-compatible model name
batch_size = 15 # names per batch; 15 works well for 8B models
synonyms_min = 4 # min synonyms per name
synonyms_max = 8 # max synonyms per name
ignore = [".git", ".venv", "site-packages", "__pycache__", "node_modules", "vendor", "dist", "migrations", "pb_migrations", "alembic", "flyway"]
# Extra dot files to keep (merged with built-in defaults like .prettierrc, .editorconfig, etc.)
dot_whitelist = []
verbose = true
[llm]
# LLM provider name shown in logs (cosmetic)
provider = "openrouter"
# API endpoint - OpenAI-compatible
endpoint = "https://openrouter.ai/api/v1/chat/completions"
# Model to use
model = "meta-llama/llama-3.1-8b-instruct"
# API key (not needed if using env var)
api_key = ""
# Environment variable containing API key
api_key_env = "OPENROUTER_API_KEY"
# Sampling parameters
temperature = 0.3
max_tokens = 0
# Concurrent LLM requests (1 = sequential, 2+ = parallel batches)
parallel_requests = 4
[init]
root = "."
[watch]
root = "."
debounce = "750ms"
llm = true
persist = "shutdown"
persist_interval = "45s"
search_log = true
search_log_query_max = 120
max_batch_size = 0
[search]
index = "ctx_index.json"
limit = 5
min_score = 1
type = "all"
dir_summary = false
dir_limit = 5
drill_limit = 3
memory = true
runtime_file = "ctx_runtime.json"
explain = false
json = false
show_tokens = false
[eval]
index = "ctx_index.json"
cases = "ctx_cases.json"
limit = 5
min_score = 1
type = "all"
explain = false
json = false