-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinferadar.env.example
More file actions
53 lines (45 loc) · 2.32 KB
/
Copy pathinferadar.env.example
File metadata and controls
53 lines (45 loc) · 2.32 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
# InfeRadar internal-server configuration.
#
# Copy to /etc/inferadar/inferadar.env, fill in real values, then lock it down:
# sudo install -m 600 -o <user> -g <user> inferadar.env.example /etc/inferadar/inferadar.env
#
# This format is shared by systemd EnvironmentFile and `source` in
# run-inferadar.sh, so use simple KEY=value lines (no `export`, avoid quotes).
# NEVER commit the real file. The LLM gateway key stays only on this server and
# is never added to GitHub.
# --- LLM endpoint (OpenAI-compatible /chat/completions) ---
# Any OpenAI-compatible endpoint works. The client POSTs to {BASE_URL}/chat/completions.
INFERADAR_LLM_BASE_URL=https://your-endpoint.example/v1
INFERADAR_LLM_API_KEY=replace-with-your-key
INFERADAR_LLM_MODEL=replace-with-model-name
# Auth header. Defaults to "Authorization: Bearer <key>". If your endpoint uses a
# different scheme (e.g. a bare key in a custom header), override these; otherwise
# delete both lines.
# INFERADAR_LLM_AUTH_HEADER=Authorization
# INFERADAR_LLM_AUTH_PREFIX=Bearer
# On Windows, use INFERADAR_LLM_AUTH_PREFIX=__EMPTY__ for a bare key because
# Windows removes process environment variables whose value is empty.
# Output token budget. Reasoning models spend part of it on hidden "thinking", so
# keep this generous; the code also auto-retries with a doubled budget (up to the
# cap) if a response comes back empty. Match these to your model's max output.
INFERADAR_LLM_MAX_TOKENS=64000
# INFERADAR_LLM_MAX_TOKENS_CAP=64000
# INFERADAR_LLM_EMPTY_RETRIES=2
# INFERADAR_LLM_HTTP_RETRIES=3
# INFERADAR_LLM_RETRY_BASE_SECONDS=2
# Optional tuning:
# INFERADAR_LLM_TIMEOUT=300
# Optional backlog cutoff. The runner scans every missing/stale summary from
# this window start onward, so missed runs are retried after outages.
# INFERADAR_SUMMARY_SINCE=2026-06-28
# --- GitHub access ---
# No GitHub API token is needed here: the JSON is generated by GitHub Actions in
# the cloud (its built-in token can read ROCm repos that block classic PATs).
# This machine only reads that JSON and writes markdown. Git push uses your
# normal credentials (SSH deploy key, or an HTTPS remote with a stored token).
# --- Runtime ---
# Python interpreter that has inferadar installed (e.g. a virtualenv).
PYTHON=/opt/inferadar/.venv/bin/python
# --- Optional toggles ---
# INFERADAR_SKIP_PUSH=0
# INFERADAR_SKIP_CLEANUP=0