-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
68 lines (49 loc) · 1.97 KB
/
Copy path.env.example
File metadata and controls
68 lines (49 loc) · 1.97 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
# ============================================================================
# Rein Agent - 环境变量配置模板
# ============================================================================
# 复制此文件为 .env 并根据需要修改:
# cp .env.example .env
# ============================================================================
# 运行模式:development | production | test
REIN_MODE=development
# 日志级别:debug | info | warn | error
REIN_LOG_LEVEL=info
# 实例名称
REIN_NAME=rein-agent
# --------------------------------------------------------------------------
# LLM 模型配置(Phase 1: CLI + LLM)
# --------------------------------------------------------------------------
# LLM API Key(必填,支持 OpenAI 兼容接口)
REIN_API_KEY=sk-xxx
# LLM API Base URL(可选,默认 OpenAI)
# 用于兼容第三方(Claude proxy、Ollama、vLLM 等)
REIN_API_BASE_URL=https://api.openai.com/v1
# 使用的模型名称
REIN_MODEL=gpt-4o
# 最大输出 token 数
REIN_MAX_TOKENS=4096
# 温度(0.0 ~ 2.0)
REIN_TEMPERATURE=0.7
# --------------------------------------------------------------------------
# AI 模型配置(历史遗留,兼容保留)
# --------------------------------------------------------------------------
# OpenAI API Key
# OPENAI_API_KEY=sk-xxxxx
# 使用的模型名称
# OPENAI_MODEL=gpt-4o
# --------------------------------------------------------------------------
# 存储配置(待后续实现)
# --------------------------------------------------------------------------
# 记忆存储后端:memory | file
# REIN_MEMORY_BACKEND=memory
# 记忆文件存储路径
# REIN_MEMORY_PATH=./data/memory
# --------------------------------------------------------------------------
# 安全配置
# --------------------------------------------------------------------------
# 是否启用沙箱模式
# REIN_SANDBOX=false
# 最大执行步数
# REIN_MAX_STEPS=50
# 超时时间(毫秒)
# REIN_TIMEOUT=60000