-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
79 lines (73 loc) · 2.64 KB
/
.env.example
File metadata and controls
79 lines (73 loc) · 2.64 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
78
79
# ============================================
# AutoPaper Environment Configuration
# ============================================
# --------------------------------------------
# API Authentication
# --------------------------------------------
# API Key - supports both ANTHROPIC_API_KEY and ANTHROPIC_AUTH_TOKEN
# ANTHROPIC_API_KEY is checked first, then ANTHROPIC_AUTH_TOKEN
ANTHROPIC_API_KEY=your_api_key_here
# ANTHROPIC_AUTH_TOKEN=your_auth_token_here
# --------------------------------------------
# API Endpoint Configuration
# --------------------------------------------
# API Base URL (optional)
# Use this to configure a custom API endpoint (e.g., for proxy or compatible API)
# Leave empty to use the default Anthropic API
#
# Examples:
# ANTHROPIC_BASE_URL=https://api.anthropic.com
# ANTHROPIC_BASE_URL=http://localhost:8080
# ANTHROPIC_BASE_URL=https://open.bigmodel.cn/api/anthropic
ANTHROPIC_BASE_URL=
# --------------------------------------------
# Model Configuration
# --------------------------------------------
# These variables control which AI models are used for different operations.
# Set these to use custom models or compatible APIs (e.g., GLM-4, Claude-compatible APIs)
#
# Priority:
# 1. ANTHROPIC_MODEL (default for all requests)
# 2. Specific model variables (ANTHROPIC_DEFAULT_SONNET_MODEL, etc.)
# 3. Built-in defaults
#
# Example for GLM-4 (智谱AI):
# ANTHROPIC_MODEL=glm-4.7
# ANTHROPIC_DEFAULT_SONNET_MODEL=glm-4.7
# ANTHROPIC_DEFAULT_OPUS_MODEL=glm-4.7
# ANTHROPIC_DEFAULT_HAIKU_MODEL=glm-4.7
#
# Example for Claude (Anthropic):
# ANTHROPIC_MODEL=claude-sonnet-4-5-20250929
# ANTHROPIC_DEFAULT_SONNET_MODEL=claude-sonnet-4-5-20250929
# ANTHROPIC_DEFAULT_OPUS_MODEL=claude-opus-4-20250514
# ANTHROPIC_DEFAULT_HAIKU_MODEL=claude-haiku-4-20250514
ANTHROPIC_MODEL=
ANTHROPIC_DEFAULT_SONNET_MODEL=
ANTHROPIC_DEFAULT_OPUS_MODEL=
ANTHROPIC_DEFAULT_HAIKU_MODEL=
# --------------------------------------------
# Email Configuration (SMTP)
# --------------------------------------------
# Configuration for sending issues via email using SMTP
#
# Common SMTP servers:
# Gmail: smtp.gmail.com:587
# Outlook: smtp-mail.outlook.com:587
# QQ Mail: smtp.qq.com:587
# 163 Mail: smtp.163.com:465
#
# Note: For Gmail, you need to use an App Password instead of your regular password
# Go to Google Account > Security > 2-Step Verification > App passwords
#
# Example for Gmail:
# SMTP_HOST=smtp.gmail.com
# SMTP_PORT=587
# EMAIL_PASSWORD=your_app_specific_password
# EMAIL_FROM=AutoPaper <[email protected]>
SMTP_HOST=
SMTP_PORT=587
EMAIL_USERNAME=
EMAIL_PASSWORD=
EMAIL_FROM=