Author SHA1 Message Date
admin 34f2380d8d feat: LLM 配置切换为 DeepSeek 2026-10-08 12:29:49 +08:00
admin f960ee49bb fix: mysql 容器固定为 Asia/Shanghai 时区 2026-10-08 12:14:23 +08:00
4 changed files with 10 additions and 4 deletions
+2 -2
View File
@@ -5,8 +5,8 @@ metadata:
namespace: lpt-dev namespace: lpt-dev
data: data:
# LPT AI Service # LPT AI Service
LLM_API_URL: https://api.siliconflow.cn/v1/chat/completions LLM_API_URL: https://api.deepseek.com/v1/chat/completions
LLM_MODEL: Qwen/Qwen2.5-32B-Instruct LLM_MODEL: deepseek-flash
LLM_TIMEOUT_MS: "60000" LLM_TIMEOUT_MS: "60000"
LPT_AI-SERVICE_URL: http://lpt-ai:5199 LPT_AI-SERVICE_URL: http://lpt-ai:5199
PORT: "5199" PORT: "5199"
+3
View File
@@ -33,6 +33,9 @@ spec:
key: mysql-root-password key: mysql-root-password
- name: MYSQL_DATABASE - name: MYSQL_DATABASE
value: learning_progress_tracker value: learning_progress_tracker
# 固定时区:业务表按无时区 DATETIME 存储,避免 DB 侧默认时间(NOW/CURRENT_TIMESTAMP)落在 UTC
- name: TZ
value: Asia/Shanghai
resources: resources:
requests: requests:
cpu: 250m cpu: 250m
+2 -2
View File
@@ -5,8 +5,8 @@ metadata:
namespace: lpt-prod namespace: lpt-prod
data: data:
# LPT AI Service # LPT AI Service
LLM_API_URL: https://api.siliconflow.cn/v1/chat/completions LLM_API_URL: https://api.deepseek.com/v1/chat/completions
LLM_MODEL: Qwen/Qwen2.5-32B-Instruct LLM_MODEL: deepseek-flash
LLM_TIMEOUT_MS: "60000" LLM_TIMEOUT_MS: "60000"
LPT_AI-SERVICE_URL: http://lpt-ai:5199 LPT_AI-SERVICE_URL: http://lpt-ai:5199
PORT: "5199" PORT: "5199"
+3
View File
@@ -33,6 +33,9 @@ spec:
key: mysql-root-password key: mysql-root-password
- name: MYSQL_DATABASE - name: MYSQL_DATABASE
value: lpt_prod value: lpt_prod
# 固定时区:业务表按无时区 DATETIME 存储,避免 DB 侧默认时间(NOW/CURRENT_TIMESTAMP)落在 UTC
- name: TZ
value: Asia/Shanghai
resources: resources:
requests: requests:
cpu: 250m cpu: 250m