chore(v0.3.0): rename fast-LLM env vars to TIMEWEB_* (match other projects)

Aligns with the user's other repos (proso) which use TIMEWEB_API_GROK /
TIMEWEB_URL_GROK. Single naming convention across projects avoids the
'which env var was it for this repo' mental tax.

  PEPA_FAST_LLM_BASE_URL → TIMEWEB_BASE_URL
  PEPA_FAST_LLM_API_KEY  → TIMEWEB_API_KEY
  PEPA_FAST_LLM_MODEL    → TIMEWEB_MODEL
  PEPA_FAST_LLM_TIMEOUT_MS → TIMEWEB_TIMEOUT_MS

Provider still works with any OpenAI-compatible endpoint — TimeWeb is
the default but the variable name doesn't lock us in. Tests + docs +
.env / .env.example updated.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-27 18:09:04 +03:00
co-authored by Claude Opus 4.7
parent a822236f2e
commit ecbdd05058
6 changed files with 31 additions and 32 deletions
+8 -12
View File
@@ -29,24 +29,20 @@ GOOGLE_API_KEY=
PI_DEFAULT_PROVIDER=openai
PI_DEFAULT_MODEL=gpt-5-mini
# --- Fast LLM tier (v0.3.0+) --------------------------------------------------
# --- Fast LLM tier (TimeWeb / OpenAI-compatible, v0.3.0+) --------------------
# Pi (CLI) handles slow deep analytics — post-mortem and 30-min reflection.
# A parallel "fast advisor" tier handles tactical "what to do RIGHT NOW"
# decisions when the reflex is stuck / preempted. Any OpenAI-compatible
# endpoint works: TimeWeb, OpenAI direct, Groq, OpenRouter, local Ollama.
# decisions when the reflex is stuck / preempted. The default expectation
# is TimeWeb, but any OpenAI-compatible endpoint works (OpenAI direct,
# Groq, OpenRouter, local Ollama with the OpenAI shim).
#
# Leave blank to disable — the bot then runs without the fast tier
# (rc.1 scaffold is a safe no-op when API_KEY is unset).
#
# Example for TimeWeb (replace with your own endpoint + key + model):
# PEPA_FAST_LLM_BASE_URL=https://api.gen-api.ru/api/v1
# PEPA_FAST_LLM_API_KEY=<paste your key here>
# PEPA_FAST_LLM_MODEL=gpt-5-mini
PEPA_FAST_LLM_BASE_URL=
PEPA_FAST_LLM_API_KEY=
PEPA_FAST_LLM_MODEL=
TIMEWEB_BASE_URL=
TIMEWEB_API_KEY=
TIMEWEB_MODEL=
# Optional: request timeout in ms (default 8000)
PEPA_FAST_LLM_TIMEOUT_MS=
TIMEWEB_TIMEOUT_MS=
# --- Bot behaviour ------------------------------------------------------------
# How often (seconds) the autonomous tick prompt fires. Set to 0 to disable.