File size: 1,332 Bytes
9e9bc6b
 
 
 
 
 
069f0a0
 
 
9e9bc6b
 
 
069f0a0
7fab6d4
 
 
 
 
 
 
 
 
 
 
 
 
 
9e9bc6b
069f0a0
 
9e9bc6b
069f0a0
3aa91e9
9e9bc6b
 
 
 
3aa91e9
9e9bc6b
3aa91e9
 
 
9e9bc6b
3aa91e9
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
# ============== LLM CONFIGURATION ==============

# Provider: "openai" or "anthropic"
LLM_PROVIDER=openai

# API Keys (at least one required for full LLM analysis)
OPENAI_API_KEY=sk-your-key-here
ANTHROPIC_API_KEY=sk-ant-your-key-here

# Model names (optional - sensible defaults)
OPENAI_MODEL=gpt-5.1
ANTHROPIC_MODEL=claude-sonnet-4-5-20250929

# ============== HUGGINGFACE (FREE TIER) ==============

# HuggingFace Token - enables Llama 3.1 (best quality free model)
# Get yours at: https://huggingface.co/settings/tokens
#
# WITHOUT HF_TOKEN: Falls back to ungated models (zephyr-7b-beta)
# WITH HF_TOKEN: Uses Llama 3.1 8B Instruct (requires accepting license)
#
# For HuggingFace Spaces deployment:
#   Set this as a "Secret" in Space Settings → Variables and secrets
#   Users/judges don't need their own token - the Space secret is used
#
HF_TOKEN=hf_your-token-here

# ============== AGENT CONFIGURATION ==============

MAX_ITERATIONS=10
SEARCH_TIMEOUT=30
LOG_LEVEL=INFO

# ============== EXTERNAL SERVICES ==============

# PubMed (optional - higher rate limits)
NCBI_API_KEY=your-ncbi-key-here

# Modal Sandbox (optional - for secure code execution)
MODAL_TOKEN_ID=ak-your-modal-token-id-here
MODAL_TOKEN_SECRET=your-modal-token-secret-here

# Vector Database (optional - for LlamaIndex RAG)
CHROMA_DB_PATH=./chroma_db