From 4d59d798128511402fdb3de75fd6d3886609ea1e Mon Sep 17 00:00:00 2001 From: lookerzz <1031516901@qq.com> Date: Tue, 22 Sep 2026 17:52:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0statistics=20tag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dao/statistics.py | 2 +- magic_llm/llm_func.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dao/statistics.py b/dao/statistics.py index ddaaa2e..eb7db16 100644 --- a/dao/statistics.py +++ b/dao/statistics.py @@ -1,6 +1,6 @@ from schemas.statistics import NoExist from sqlalchemy import func -from time import time + #`GET /statistics/students/age-over-30` #查询所有超过 30 岁的学员信息 diff --git a/magic_llm/llm_func.py b/magic_llm/llm_func.py index 15f41ad..6e9c0de 100644 --- a/magic_llm/llm_func.py +++ b/magic_llm/llm_func.py @@ -16,7 +16,7 @@ def llm_func(input_user): base_url="https://api.deepseek.com" ) - prom_path = Path(__file__).parent / "prom.txt" + prom_path = Path(__file__).parent / "prom.txt" #拼接路径 context = prom_path.read_text(encoding="utf-8")