-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
41 lines (33 loc) · 1018 Bytes
/
Copy path.env.example
File metadata and controls
41 lines (33 loc) · 1018 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# ===========================================
# DYOR - Environment Variables
# ===========================================
# LLM (required)
ANTHROPIC_API_KEY=""
# External APIs (optional - features degrade gracefully without them)
COINGECKO_API_KEY=""
COINGECKO_PRO_API_KEY="" # Optional - Pro tier (paid), uses pro-api.coingecko.com
CRYPTOPANIC_API_KEY=""
# RAG
CHROMA_PERSIST_DIR=./data/chroma_db
EMBEDDING_MODEL=BAAI/bge-m3
# API Server
API_HOST=0.0.0.0
API_PORT=8000
# Agent
MAX_REVISION_COUNT=2
AGENT_TIMEOUT=60
# Knowledge Graph
KNOWLEDGE_GRAPH_PATH=./data/knowledge_graph/graph.graphml
# ===========================================
# Memory / Checkpointing
# ===========================================
# Backend: memory | redis | postgres | redis_then_postgres
CHECKPOINTER_BACKEND=memory
REDIS_URL=redis://localhost:6379/0
REDIS_TTL_SECONDS=604800
POSTGRES_CONN_STRING=
# Memory Selector (Phase 2)
MEMORY_SELECTOR_ENABLED=True
SUMMARIZATION_THRESHOLD=10
SIMILARITY_TOP_K=3
MAX_CONTEXT_MESSAGES=20