-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
58 lines (44 loc) · 2.16 KB
/
.env.example
File metadata and controls
58 lines (44 loc) · 2.16 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
54
55
56
57
58
# Paper Reader Agent - Environment Configuration
# Copy this file to .env and fill in your API keys
# ============= API Keys =============
# DeepSeek API (default provider)
DEEPSEEK_API_KEY=your_deepseek_api_key_here
# OpenAI API (alternative provider)
OPENAI_API_KEY=your_openai_api_key_here
# Siliconflow API
SILICONFLOW_API_KEY=your_siliconflow_api_key_here
# ============= LLM Configuration (Optional) =============
# Request timeout in seconds (default: 60.0)
LLM_TIMEOUT_S=60.0
# Maximum retry attempts for failed API calls (default: 3)
LLM_MAX_RETRIES=3
# Global concurrency limit for LLM API calls across all sessions (default: 0 = disabled)
# Set to a positive number to limit concurrent LLM requests (e.g., 10)
# This helps prevent API rate limiting when multiple users analyze papers simultaneously
LLM_MAX_CONCURRENCY=0
# ============= Web Search Configuration (Optional) =============
# Enable web search for reproduction resources (default: false)
ENABLE_WEB_SEARCH=false
# GitHub Personal Access Token (for higher rate limits: 5000 req/hour vs 60)
# Create at: https://github.com/settings/tokens (no special scopes needed)
GITHUB_TOKEN=your_github_token_here
# HuggingFace API Token (for accessing private models/datasets)
# Create at: https://huggingface.co/settings/tokens
HUGGINGFACE_TOKEN=your_huggingface_token_here
# Serper API Key (optional, for Google search integration)
# Get at: https://serper.dev/
SERPER_API_KEY=your_serper_api_key_here
# ============= Tavily Deep Research (Optional) =============
# Tavily API Key for Deep Research feature (Tavily Research API)
# Get at: https://app.tavily.com
# Without this key, the Deep Research sidebar feature will show an error when used
TAVILY_API_KEY=tvly-your_api_key_here
# Tavily Project ID (optional, for usage tracking)
# TAVILY_PROJECT=optional-project-id
# ============= Valyu Deep Research (Optional) =============
# Valyu API Key for Deep Research feature (alternative to Tavily)
# Get at: https://platform.valyu.ai
# Without this key, the Valyu provider option will show an error when used
VALYU_API_KEY=your_valyu_api_key_here
# Default Deep Research Provider (tavily or valyu)
# DEFAULT_RESEARCH_PROVIDER=tavily