From 728d5aabd222ceea8c7c743f912d159694fd0e9d Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Fri, 6 Mar 2026 20:26:35 +0800 Subject: [PATCH] feat: Increased daily message cap and reduced query costs. --- bot_listener.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bot_listener.py b/bot_listener.py index 44253aa6..25927daf 100644 --- a/bot_listener.py +++ b/bot_listener.py @@ -17,11 +17,11 @@ from src.analysis.deb_algorithm import calculate_dynamic_weights, update_daily_r from src.database.db_manager import DBManager MESSAGE_POINTS = 1 -MESSAGE_DAILY_CAP = 20 +MESSAGE_DAILY_CAP = 50 MESSAGE_MIN_LENGTH = 4 MESSAGE_COOLDOWN_SEC = 30 -CITY_QUERY_COST = 2 -DEB_QUERY_COST = 3 +CITY_QUERY_COST = 1 +DEB_QUERY_COST = 1 def analyze_weather_trend(weather_data, temp_symbol, city_name=None):