Configuration¶
Settings resolve in this precedence order (highest first):
Explicit CLI option (e.g.
--ollama-host,--min-score)Environment variable
Config file (
config.toml)Built-in default
Environment variables¶
Variable |
Affects |
Default |
|---|---|---|
|
Ollama base URL |
|
|
SQLite cache/results path |
|
YouTrack auth is inherited from youtrack-cli (~/.config/youtrack-cli/.env or
YOUTRACK_BASE_URL / YOUTRACK_TOKEN) — this tool holds no YouTrack credentials.
Config file (config.toml)¶
The config file is read from ~/.config/yt-issue-reviewer/config.toml by default, or from
the path given with the global --config PATH option (there is no environment variable for
it). All keys are optional; unset keys fall back to the defaults below.
db_path = "yir.db"
ollama_host = "http://127.0.0.1:11434"
embedding_model = "nomic-embed-text"
label_model = "qwen2.5"
weight_semantic = 0.7
weight_structural = 0.3
min_score = 0.6
temporal_window_days = 7
[structural_weights]
shared_tags = 0.5
same_reporter = 0.2
temporal_proximity = 0.3
Settings reference¶
Setting |
Default |
Meaning |
|---|---|---|
|
|
SQLite cache + results file |
|
|
Ollama base URL (localhost or Tailscale) |
|
|
Embedding model
(768-dim);
|
|
|
Chat model for
|
|
|
Blend weight for cosine similarity |
|
|
Blend weight for structural signals |
|
|
Threshold below which pairs/groups are dropped |
|
|
Window for the temporal-proximity signal |
|
|
Sub-weight: shared tags/components |
|
|
Sub-weight: same reporter |
|
|
Sub-weight: created close in time |
The embedding model name + version and the weights are recorded per run (see
runs), so any analysis is reproducible. See architecture for how
these combine into the relatedness score.