-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
77 lines (58 loc) · 2.8 KB
/
Copy path.env.example
File metadata and controls
77 lines (58 loc) · 2.8 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# =============================================================================
# RealtimeUI Environment Configuration
# =============================================================================
# Copy this file to .env and fill in your values
# =============================================================================
# OpenAI / LLM Configuration
# =============================================================================
# Your OpenAI API key (required)
OPENAI_API_KEY=sk-your-api-key-here
# Custom base URL for OpenAI-compatible APIs (optional)
# Examples:
# - Azure OpenAI: https://your-resource.openai.azure.com/openai/deployments/your-deployment
# - Local LLM: http://localhost:8080/v1
# - Other providers: https://api.provider.com/v1
OPENAI_BASE_URL=
# Model to use for generation (default: qwen3-max)
OPENAI_MODEL=qwen3-max
# Models for parallel placeholder expansion (comma-separated)
# If not set, uses OPENAI_MODEL for all expansions
# Example: qwen3-max,qwen-plus,qwen-turbo
EXPANSION_MODELS=
# =============================================================================
# LLM Timeout Configuration (seconds)
# =============================================================================
# Connection timeout (default: 10.0)
LLM_TIMEOUT_CONNECT=10.0
# Read timeout for streaming responses (default: 120.0)
LLM_TIMEOUT_READ=120.0
# Write timeout (default: 30.0)
LLM_TIMEOUT_WRITE=30.0
# =============================================================================
# LLM Retry Configuration
# =============================================================================
# Maximum number of retries for transient failures (default: 3)
LLM_MAX_RETRIES=3
# Base delay between retries in seconds (default: 1.0)
# Uses exponential backoff: delay = base_delay * 2^attempt
LLM_RETRY_BASE_DELAY=1.0
# =============================================================================
# Logging Configuration
# =============================================================================
# Log level for console output (default: INFO)
# Options: DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_LEVEL=INFO
# =============================================================================
# CORS Configuration
# =============================================================================
# Additional CORS origins (comma-separated)
# Default origins (localhost:5173, localhost:8000) are always included
# Example: https://myapp.com,https://staging.myapp.com
CORS_ORIGINS=
# =============================================================================
# Deployment Configuration (auto-detected in most cases)
# =============================================================================
# Railway deployment domain (auto-set by Railway)
# RAILWAY_PUBLIC_DOMAIN=
# Render external URL (auto-set by Render)
# RENDER_EXTERNAL_URL=