-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
51 lines (41 loc) · 2.17 KB
/
Copy pathenv.example
File metadata and controls
51 lines (41 loc) · 2.17 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
# --- Provider API keys ---
# Pick the ones you actually use. Leave blank for the others.
ANTHROPIC_API_KEY=
OPENAI_API_KEY=
OLLAMA_API_KEY=
# --- Task timeouts ---
AGENTCODEC_TASK_TIMEOUT_S=600 # 10 min instead of 5
AGENTCODEC_TASK_MAX_ATTEMPTS=3 # 3 attempts (= 2 retries) instead of 2
# --- SemKNN routing (remote service) ---
# Redirects the SemKNN /route call at module-construction time. Set this
# to point the client at a different backend (your licensed self-host,
# an academic-access endpoint, etc.) without editing your YAML config.
# Logged at INFO level when applied so accidental leaks into production
# are visible.
#
# AGENTCODEC_SEMKNN_SERVER_URL=https://your-semknn-backend.example.com
#
# Optional bearer token for the SemKNN backend's /route (and /telemetry,
# when telemetry is going to the same host). Falls back to the YAML
# `router.api_key` when set.
# AGENTCODEC_API_KEY=
# --- Anonymous telemetry ---
# On by default for EVERY router (fixed / acm_table / acm_linear / semknn).
# Each event ships: prompt embedding (NOT the prompt text), lambda,
# technique, latency, predicted vs. observed quality, token counts, and a
# canonical model-family fingerprint. NEVER ships: prompt text, model
# output, reference answers, concrete model identifiers, API keys, or
# any user identifier. See README §"Anonymous telemetry".
#
# AGENTCODEC_TELEMETRY=0 # kill switch (also: false, no, off, disabled)
# AGENTCODEC_TELEMETRY_ENDPOINT=https://agentcodec.intellerce.com/telemetry # override for a licensed self-hosted collector
# AGENTCODEC_TELEMETRY_QUIET=1 # silence the one-time stderr notice
# --- Pricing catalog ---
# Skip the OpenRouter live-pricing fetch (offline / locked-down environments).
# When disabled, falls through to the hardcoded MODEL_COSTS table and the
# param-count heuristic. See README §Cost transparency.
# AGENTCODEC_DISABLE_OPENROUTER=1
# --- Pricing-catalog cache location ---
# Where to keep the OpenRouter pricing JSON. Defaults to <repo>/.cache/agentcodec/
# so the catalog survives across containers / home-dir resets.
# AGENTCODEC_CACHE_DIR=/var/lib/agentcodec/cache