-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
42 lines (34 loc) · 1.29 KB
/
Copy path.env.example
File metadata and controls
42 lines (34 loc) · 1.29 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
# ============================================================
# Code Documentation Assistant — Environment Configuration
# ============================================================
# Copy this file to .env and adjust values as needed.
# docker compose reads .env automatically.
# ============================================================
# Model tier: full | balanced | lightweight
MODEL_TIER=full
# Embedding model: nomic-embed-text | all-minilm | mxbai-embed-large
EMBEDDING_MODEL=nomic-embed-text
# Log level: debug | info | warning | error
LOG_LEVEL=info
# Path to the codebase to ingest (mounted read-only into the app container)
REPO_PATH=./repos
# ============================================================
# dev branch additions
# ============================================================
# --- Inference backend (dev only) ---
# ollama | vllm
INFERENCE_BACKEND=ollama
# vLLM — only needed when INFERENCE_BACKEND=vllm
# HF_TOKEN is required to pull gated models from HuggingFace Hub
HF_TOKEN=
VLLM_MODEL=mistralai/Mistral-7B-Instruct-v0.3
VLLM_TP=1
# --- Agent behaviour (dev only) ---
HITL_ENABLED=true
# human | supervisor | self | off
OUTPUT_REVIEW_MODE=human
QUALITY_GATE_THRESHOLD=6.0
CONFIDENCE_THRESHOLD=0.45
MAX_RETRIEVAL_ATTEMPTS=3
MAX_GENERATION_ATTEMPTS=3
MAX_CONTEXT_TOKENS=8000