Initial commit
This commit is contained in:
20
backend/.env.example
Normal file
20
backend/.env.example
Normal file
@@ -0,0 +1,20 @@
|
||||
# 环境变量配置文件模板
|
||||
# 复制此文件为 .env 并填写实际值
|
||||
|
||||
# 数据库配置
|
||||
DATABASE_URL=postgresql+asyncpg://postgres:postgres123@localhost:5432/flexible_test_platform
|
||||
|
||||
# AI 服务配置 (支持任何 OpenAI 兼容的 API)
|
||||
# 通义千问示例:
|
||||
# AI_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
|
||||
# AI_MODEL=qwen-plus
|
||||
# DeepSeek 示例:
|
||||
# AI_BASE_URL=https://api.deepseek.com/v1
|
||||
# AI_MODEL=deepseek-chat
|
||||
# OpenAI 示例:
|
||||
# AI_BASE_URL=https://api.openai.com/v1
|
||||
# AI_MODEL=gpt-4
|
||||
|
||||
AI_API_KEY=your_api_key_here
|
||||
AI_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
|
||||
AI_MODEL=qwen-plus
|
||||
Reference in New Issue
Block a user