-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
35 lines (29 loc) · 1.19 KB
/
Copy path.env.example
File metadata and controls
35 lines (29 loc) · 1.19 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
# WorkAgent 环境变量配置示例
# 复制此文件为 .env 并根据需要修改
# ============================================
# OpenAI API 配置
# ============================================
OPENAI_API_KEY=your-openai-api-key-here
# 可选:自定义 OpenAI API 基础 URL(用于代理或第三方兼容服务)
# OPENAI_BASE_URL=https://api.openai.com/v1
# ============================================
# 服务器配置
# ============================================
# WORKAGENT_HOST=0.0.0.0
# WORKAGENT_PORT=8000
# WORKAGENT_LOG_LEVEL=INFO
# ============================================
# Agent 默认配置
# ============================================
# WORKAGENT_DEFAULT_MODEL=gpt-4o-mini
# WORKAGENT_DEFAULT_TEMPERATURE=0.7
# ============================================
# 可观测性配置(OpenTelemetry)
# ============================================
# OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
# ============================================
# 其他模型提供商 API Key(根据需要配置)
# ============================================
# ANTHROPIC_API_KEY=your-anthropic-api-key
# COHERE_API_KEY=your-cohere-api-key
# AZURE_OPENAI_API_KEY=your-azure-openai-api-key