ai-chatbot/.env.example
Your Name 413b5ffac1
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
feat: add AI-CAD workspace and KittyCAD integration
2026-04-06 14:46:51 +08:00

51 lines
1.9 KiB
Plaintext
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.

# Generate a random secret: https://generate-secret.vercel.app/32 or `openssl rand -base64 32`
AUTH_SECRET=****
# The following keys below are automatically created and
# added to your environment when you deploy on Vercel
# Instructions to create an AI Gateway API key here: https://vercel.com/ai-gateway
# API key required for non-Vercel deployments
# For Vercel deployments, OIDC tokens are used automatically
# https://vercel.com/ai-gateway
AI_GATEWAY_API_KEY=****
# Instructions to create a Vercel Blob Store here: https://vercel.com/docs/vercel-blob
BLOB_READ_WRITE_TOKEN=****
# Instructions to create a PostgreSQL database here: https://vercel.com/docs/postgres
POSTGRES_URL=****
# Instructions to create a Redis store here:
# https://vercel.com/docs/redis
REDIS_URL=****
# DashScope / 通义千问配置
# 请求地址(阿里云 DashScope OpenAI 兼容接口)
DASHSCOPE_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
# API Key(请在本地 .env.local 和 服务器环境中填写真实值,不要把真实 Key 提交到代码仓库)
DASHSCOPE_API_KEY=your-dashscope-api-key
# 第三方 GPT5 提供方配置(OpenAI 兼容接口)
# API 基础地址(例如:https://api.huandutech.com)
GTP5_API_URL=https://api.huandutech.com
# API Key(请在本地 .env.local 和 服务器环境中填写真实值,不要把真实 Key 提交到代码仓库)
GTP5_API_KEY=your-gtp5-api-key
# 模型名称(例如:gpt-5-nano)
GTP5_MODEL=gpt-5-nano
# Tripo3D(可选)
# 优先使用系统设置-本地AI里的 `tripo-3d` 提供商;若未配置则回退到环境变量
TRIPO_API_KEY=your-tripo-api-key
TRIPO_BASE_URL=https://api.tripo3d.ai/v2/openapi
# KittyCAD / Zoo Text-to-CAD(可选)
# 优先使用系统设置-本地AI里的 `kittycad-cad` 提供商;若未配置则回退到环境变量
KITTYCAD_API_TOKEN=your-kittycad-api-token
KITTYCAD_BASE_URL=https://api.zoo.dev