From 22e19a4f1e448cef0d9a6d970635d650a5e5487e Mon Sep 17 00:00:00 2001 From: aaron <> Date: Tue, 10 Feb 2026 00:30:07 +0800 Subject: [PATCH] update --- backend/app/crypto_agent/crypto_agent.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/app/crypto_agent/crypto_agent.py b/backend/app/crypto_agent/crypto_agent.py index 0d66106..1aa935c 100644 --- a/backend/app/crypto_agent/crypto_agent.py +++ b/backend/app/crypto_agent/crypto_agent.py @@ -352,7 +352,9 @@ class CryptoAgent: return False confidence = signal.get('confidence', 0) - if confidence < 70: + # 使用配置文件中的阈值 + threshold = self.settings.crypto_llm_threshold * 100 # 转换为百分比 + if confidence < threshold: return False # 检查冷却时间(30分钟内不重复发送相同方向的信号)