Files
zhimingge/.env.example
T
dekun 3933905d66 Fix AI streaming, learn images, and full city regions.
Remove use server from stream helper to fix RSC errors; support OPENAI_API_BASE alias; render HTML tables via rehype-raw with gua-image API; expand regions to 356 prefecture-level cities.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-10 22:04:17 +08:00

27 lines
669 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ===========================================
# 知命阁(zhimingge)环境变量
# 复制为 .env.local 后填写实际值
# cp .env.example .env.local
# ===========================================
# AI 接口密钥(必填)
OPENAI_API_KEY=
# AI 接口地址(OPENAI_BASE_URL 与 OPENAI_API_BASE 二选一)
OPENAI_BASE_URL=https://op.bz121.com/v1
# OPENAI_API_BASE=https://op.bz121.com/v1
# AI 模型
OPENAI_MODEL=huihui_ai/gemma-4-abliterated:e4b
# 服务端口(Docker / PM2 默认 3130;本地 dev 仍用 3000
PORT=3130
# 运行环境
NODE_ENV=production
# 访问统计(可选,不需要可留空)
# UMAMI_ID=
# UMAMI_URL=
# UMAMI_DOMAINS=