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")