-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
27 lines (24 loc) · 877 Bytes
/
.env.example
File metadata and controls
27 lines (24 loc) · 877 Bytes
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
# MemOS env example (safe template)
#
# Usage:
# 1) Copy this file to `.env` (repo root)
# 2) Fill values you need (do NOT commit real keys)
# 3) Start API/worker; it will load `.env` by default
# --- Infra ---
MEMOS_DATABASE_URL=postgresql+psycopg://postgres:postgres@127.0.0.1:5432/memos
MEMOS_REDIS_URL=redis://127.0.0.1:6379/0
# --- API server ---
MEMOS_API_HOST=0.0.0.0
MEMOS_API_PORT=8000
MEMOS_API_RELOAD=false
# --- LLM (optional; used by worker condensation + /v1/answer) ---
MEMOS_LLM_ENABLED=false
# OpenAI-compatible base_url examples:
# - Qiniu relay: https://api.qnaigc.com/v1
# - Right.Codes (Codex): https://www.right.codes/codex (server will normalize to .../v1)
MEMOS_LLM_BASE_URL=https://api.qnaigc.com/v1
MEMOS_LLM_API_KEY=YOUR_KEY
MEMOS_LLM_MODEL=gemini-3.0-flash-preview
MEMOS_LLM_TEMPERATURE=0.2
MEMOS_LLM_TIMEOUT_SECONDS=30
MEMOS_LLM_MAX_RETRIES=2