auto-save 2026-05-12 15:47 (+2, ~3)
This commit is contained in:
15
api/.env.example
Normal file
15
api/.env.example
Normal file
@@ -0,0 +1,15 @@
|
||||
# Gemini API(优先用 Poe 中转,按用户偏好)
|
||||
# Poe 网关示例:GEMINI_API_BASE=https://api.poe.com/v1 + key
|
||||
# Google 直连示例:留空 GEMINI_API_BASE,用 google-generativeai SDK
|
||||
GEMINI_API_KEY=
|
||||
GEMINI_API_BASE=
|
||||
GEMINI_MODEL=gemini-2.5-flash
|
||||
|
||||
# 工作目录
|
||||
JOBS_DIR=./jobs
|
||||
|
||||
# CORS
|
||||
CORS_ORIGINS=http://localhost:4290
|
||||
|
||||
# 端口(启动用 uvicorn --port 4291 覆盖)
|
||||
API_PORT=4291
|
||||
Reference in New Issue
Block a user