chore: include .env updates for deploy
这个提交包含在:
25
.env
25
.env
@@ -15,3 +15,28 @@ NEXT_PUBLIC_API_BASE=/admin139
|
|||||||
|
|
||||||
# Next.js 服务端反代用(可选)
|
# Next.js 服务端反代用(可选)
|
||||||
BACKEND_INTERNAL_URL=http://backend:8080
|
BACKEND_INTERNAL_URL=http://backend:8080
|
||||||
|
|
||||||
|
# ===== OI 题库导入(LLM 识别)=====
|
||||||
|
# 对应 scripts/import_winterant_oi.py 的可选识别配置
|
||||||
|
OI_LLM_API_URL=http://8.211.173.24:9404/v1/chat/completions
|
||||||
|
OI_LLM_API_KEY=sk-2e51c350efdeb41e27fcea4c3116567e514435db291b291e
|
||||||
|
OI_LLM_MODEL=qwen3-max
|
||||||
|
OI_LLM_STREAM=true
|
||||||
|
OI_LLM_RETRY_MAX=5
|
||||||
|
OI_LLM_RETRY_SLEEP_SEC=1.5
|
||||||
|
|
||||||
|
# ===== 题库导入任务(PDF + LLM)=====
|
||||||
|
OI_IMPORT_AUTO_RUN=true
|
||||||
|
OI_IMPORT_AUTO_MODE=luogu
|
||||||
|
OI_IMPORT_WORKERS=3
|
||||||
|
OI_IMPORT_TARGET_TOTAL=5000
|
||||||
|
OI_IMPORT_RESUME_ON_RESTART=true
|
||||||
|
OI_LOCAL_PDF_DIR=/data/local_pdfs
|
||||||
|
OI_IMPORT_CLEAR_EXISTING=true
|
||||||
|
OI_IMPORT_CLEAR_SOURCE_PREFIX=winterant/oi
|
||||||
|
OI_IMPORT_CLEAR_ALL_PROBLEMS=false
|
||||||
|
OI_IMPORT_SKIP_LLM=false
|
||||||
|
OI_IMPORT_LLM_LIMIT=0
|
||||||
|
OI_IMPORT_MAX_PROBLEMS=0
|
||||||
|
OI_IMPORT_DIRECT_FALLBACK=true
|
||||||
|
OI_IMPORT_PREFER_DIRECT=true
|
||||||
|
|||||||
在新工单中引用
屏蔽一个用户