From bf530467ca2dbf970a39c0d4346d0ecd81006e1f Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Thu, 26 Feb 2026 18:05:38 +0800 Subject: [PATCH] feat: add inline keyboard to start command and implement about callback handler. --- bot_listener.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bot_listener.py b/bot_listener.py index adde6eed..bb7d079f 100644 --- a/bot_listener.py +++ b/bot_listener.py @@ -290,7 +290,11 @@ def analyze_weather_trend(weather_data, temp_symbol): elif local_hour < first_peak_h: # 还没到峰值窗口 if is_breakthrough: - insights.append(f"🔥 超预报升温:还没到最热时段就已经超过所有预报了,峰值可能远超模型预期。") + exceed = max_so_far - forecast_high + insights.append( + f"🔥 超预报升温:距最热时段还有 {first_peak_h - local_hour}h," + f"实测已超预报 {exceed:.1f}°({max_so_far}{temp_symbol} vs 预报上限 {forecast_high}{temp_symbol})。" + ) else: gap_to_high = forecast_high - (max_so_far if max_so_far is not None else curr_temp) if gap_to_high > 1.2: