You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
# ============================================================================
|
|
|
|
|
|
# HelloAgents 统一环境变量配置文件
|
|
|
|
|
|
# ============================================================================
|
|
|
|
|
|
# 复制此文件为 .env 并填入你的API密钥
|
|
|
|
|
|
# 系统要求:Python 3.10+ (必需)
|
|
|
|
|
|
|
|
|
|
|
|
# ============================================================================
|
|
|
|
|
|
# 🚀 统一配置格式(推荐)- 框架自动检测provider
|
|
|
|
|
|
# ============================================================================
|
|
|
|
|
|
# 只需配置以下4个通用环境变量,框架会自动识别LLM提供商:
|
|
|
|
|
|
|
|
|
|
|
|
# 模型名称
|
|
|
|
|
|
LLM_MODEL_ID=your-model-name
|
|
|
|
|
|
|
|
|
|
|
|
# API密钥
|
|
|
|
|
|
LLM_API_KEY=your-api-key-here
|
|
|
|
|
|
|
|
|
|
|
|
# 服务地址
|
|
|
|
|
|
LLM_BASE_URL=your-api-base-url
|
|
|
|
|
|
|
|
|
|
|
|
# 超时时间(可选,默认60秒)
|
|
|
|
|
|
LLM_TIMEOUT=60
|
|
|
|
|
|
|
|
|
|
|
|
# ============================================================================
|
|
|
|
|
|
# 🛠️ 工具配置(可选)
|
|
|
|
|
|
# ============================================================================
|
|
|
|
|
|
|
|
|
|
|
|
# Tavily搜索(推荐)- 获取API密钥:https://tavily.com/
|
|
|
|
|
|
# TAVILY_API_KEY=tvly-your_tavily_key_here
|
|
|
|
|
|
|
|
|
|
|
|
# SerpApi搜索(备选)- 获取API密钥:https://serpapi.com/
|
|
|
|
|
|
# SERPAPI_API_KEY=your_serpapi_key_here
|