49c0e5559c
Co-Authored-By: Claude Code <noreply@anthropic.com>
28 lines
739 B
Bash
28 lines
739 B
Bash
# AI模型配置
|
|
AI_PROVIDER=glm
|
|
ZHIPU_API_KEY=your_zhipu_api_key_here
|
|
AI_MODEL=glm-4-flash
|
|
# 请求地址: 留空=用SDK默认(标准套餐); coding套餐用 https://open.bigmodel.cn/api/coding/paas/v4
|
|
ZHIPU_BASE_URL=https://open.bigmodel.cn/api/coding/paas/v4
|
|
|
|
# 数据库
|
|
DATABASE_URL=sqlite+aiosqlite:///./data/cc_ai_kefu.db
|
|
|
|
# 邮件推送
|
|
SMTP_HOST=smtp.example.com
|
|
SMTP_PORT=465
|
|
SMTP_USER=your_email@example.com
|
|
SMTP_PASS=your_email_password
|
|
NOTIFY_EMAIL=notify@example.com
|
|
|
|
# 询盘推送 UniService
|
|
PUSH_ENABLED=false
|
|
PUSH_API_URL=https://uniservice.server.hnxinyouhe.com/open/v1/inquiry/push
|
|
PUSH_API_KEY=your_uniservice_api_key_here
|
|
PUSH_EXTERNAL_KEY_PREFIX=ai-kefu
|
|
|
|
# 应用配置
|
|
APP_HOST=0.0.0.0
|
|
APP_PORT=8016
|
|
APP_DEBUG=true
|