From f001eb51fb6e2cc450cc0ecc76550dd9abed41cc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 6 Jul 2025 14:15:13 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20=E8=87=AA=E5=8A=A8=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F=E5=8C=96=E4=BB=A3=E7=A0=81=20[skip=20ci]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/llm_models/utils_model.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/llm_models/utils_model.py b/src/llm_models/utils_model.py index 2734fcea7..345e8ad1d 100644 --- a/src/llm_models/utils_model.py +++ b/src/llm_models/utils_model.py @@ -135,11 +135,10 @@ class LLMRequest: custom_params_str = model.get("custom_params", "{}") try: self.custom_params = json.loads(custom_params_str) - except json.JSONDecodeError as e: + except json.JSONDecodeError: logger.error(f"Invalid JSON in custom_params for model '{self.model_name}': {custom_params_str}") self.custom_params = {} - # 获取数据库实例 self._init_database()