-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
55 lines (41 loc) · 1.6 KB
/
.env.example
File metadata and controls
55 lines (41 loc) · 1.6 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
# ===============================================================
# CodeBuddy2API - 环境变量示例文件
#
# 使用前,请将此文件复制为 .env 并填写必要的值
# ===============================================================
# -----------------
# 服务端配置
# -----------------
# (必需) API服务的访问密码,客户端连接时需要在Authorization头中提供此密码
CODEBUDDY_PASSWORD=
# (可选) 服务监听的主机地址
# 默认值: 127.0.0.1
CODEBUDDY_HOST=127.0.0.1
# (可选) 服务监听的端口
# 默认值: 8003
CODEBUDDY_PORT=8003
# -----------------
# CodeBuddy API 配置
# -----------------
# (可选) CodeBuddy官方API的端点地址
# 一般无需修改
CODEBUDDY_API_ENDPOINT=https://www.codebuddy.ai
# (可选) 存放CodeBuddy认证凭证 (JSON文件) 的目录
# 默认值: .codebuddy_creds
CODEBUDDY_CREDS_DIR=.codebuddy_creds
# -----------------
# 高级配置
# -----------------
# (可选) 应用的日志级别
# 可选值: DEBUG, INFO, WARNING, ERROR, CRITICAL
# 默认值: INFO
CODEBUDDY_LOG_LEVEL=INFO
# (可选) 向客户端报告可用的模型列表,用逗号分隔
# 用户可以根据自己的CodeBuddy账号支持的模型进行修改
CODEBUDDY_MODELS=claude-opus-4.6,gpt-5.5,gpt-5,gpt-5-mini,gpt-5-nano,o4-mini,gemini-2.5-pro,gemini-2.5-flash,gemini-3.1-pro,claude-haiku-4.5,auto-chat,auto-smart,auto-fast,auto-cheap
# (Optional) Enable/disable SSL verification for CodeBuddy API
# Default: false (disabled for development)
CODEBUDDY_SSL_VERIFY=false
# (Optional) Enable/disable automatic prompt enhancement
# Default: true
CODEBUDDY_PROMPT_ENHANCE=true