auto-save 2026-05-12 15:47 (+2, ~3)

This commit is contained in:
2026-05-12 15:51:42 +08:00
parent bbd41fad52
commit 2e45ad9d16
96 changed files with 10989 additions and 1 deletions

15
api/.env.example Normal file
View 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