-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy path.env.example
More file actions
42 lines (31 loc) · 962 Bytes
/
Copy path.env.example
File metadata and controls
42 lines (31 loc) · 962 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
42
# Xcode AI Proxy Python 版本环境变量配置
# 复制此文件为 .env 并填入真实的 API 密钥
# ===================
# API 密钥配置
# ===================
# 智谱AI GLM-4.5 模型 API 密钥
# 获取地址: https://open.bigmodel.cn/
ZHIPU_API_KEY=your_zhipu_api_key_here
# Kimi AI API 密钥
# 获取地址: https://platform.moonshot.cn/
KIMI_API_KEY=your_kimi_api_key_here
# DeepSeek API 密钥
# 获取地址: https://platform.deepseek.com/
DEEPSEEK_API_KEY=your_deepseek_api_key_here
# ===================
# 服务器配置
# ===================
# 服务器端口 (默认: 3000)
PORT=3000
# 服务器主机 (默认: 0.0.0.0)
HOST=0.0.0.0
# ===================
# 重试配置
# ===================
# API 请求重试次数 (默认: 3)
MAX_RETRIES=3
# 重试延迟基数,单位毫秒 (默认: 1000)
# 实际延迟 = RETRY_DELAY * 重试次数
RETRY_DELAY=1000
# 请求超时时间,单位毫秒 (默认: 60000)
REQUEST_TIMEOUT=60000