# ZCLAW 环境变量配置

# === AI Provider ===
# 可选: zhipu, openai, local
ZCLAW_AI_PROVIDER=zhipu

# 智谱 GLM API Key (https://open.bigmodel.cn)
ZCLAW_ZHIPU_API_KEY=

# OpenAI API Key (或兼容 API)
ZCLAW_OPENAI_API_KEY=
ZCLAW_OPENAI_BASE_URL=https://api.openai.com/v1

# 默认模型
ZCLAW_DEFAULT_MODEL=glm-4-flash
ZCLAW_MAX_TOKENS=4096
ZCLAW_TEMPERATURE=0.7

# === Database ===
ZCLAW_DB_PATH=./data/zclaw.db

# === Server ===
ZCLAW_PORT=3721
ZCLAW_HOST=127.0.0.1

# === IM: 飞书 ===
ZCLAW_FEISHU_ENABLED=false
ZCLAW_FEISHU_APP_ID=
ZCLAW_FEISHU_APP_SECRET=

# === IM: Telegram ===
ZCLAW_TELEGRAM_ENABLED=false
ZCLAW_TELEGRAM_BOT_TOKEN=

# === Execution ===
ZCLAW_MAX_CONCURRENT=5
ZCLAW_TASK_TIMEOUT=300000
ZCLAW_RETRY_ATTEMPTS=3

# === Memory ===
ZCLAW_MAX_EVENTS=10000
ZCLAW_EMBEDDING_MODEL=text-embedding-3-small

# === Logging ===
# 可选: debug, info, warn, error
ZCLAW_LOG_LEVEL=info
