-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
44 lines (34 loc) · 1.14 KB
/
.env.example
File metadata and controls
44 lines (34 loc) · 1.14 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
# ===== API 配置 =====
BASE_API=https://api.openai.com/v1
API_KEY=sk-your-api-key-here
# ===== 模型配置 =====
# 逗号分隔,留空则从API自动获取
MODELS=gpt-4o,claude-sonnet-4,gemini-2.5-pro
# ===== Token 配置 =====
# 单次回复最大 token 数
RESPONSE_TOKENS=2048
# 对话上下文 token 上限,超出则裁剪最早的非 system 消息
MAX_TOKENS=32000
# tiktoken 计算用的模型名(用于本地估算 token 数)
TIKTOKEN_MODEL=gpt-4o
# ===== 生成参数 =====
TEMPERATURE_MIN=0.4
TEMPERATURE_MAX=1.2
MAX_WORKERS=5
# ===== 讨论配置 =====
# 留空则运行时手动输入
TOPIC=
INITIAL_ROUNDS=3
# ===== 输出配置 =====
# Markdown 对话记录保存目录
OUTPUT_DIR=discussions
# ===== 提示词模板 (可选,均有默认值) =====
# 支持变量: {model_name}, {topic}, {participants}
# SYSTEM_PROMPT=
# 支持变量: {current_round}, {total_rounds}, {remaining}, {model_name}, {topic}
# FIRST_ROUND_PROMPT=
# 支持变量: {current_round}, {total_rounds}, {remaining}, {others_text}
# DISCUSSION_PROMPT=
# 支持变量: {human_input}
# HUMAN_GUIDE_PROMPT=
# SUMMARY_PROMPT=