diff --git a/src/utils/daily_weather_report.py b/src/utils/daily_weather_report.py index 4c878461..763b5e56 100644 --- a/src/utils/daily_weather_report.py +++ b/src/utils/daily_weather_report.py @@ -107,10 +107,11 @@ def _build_ai_prompt(cities_data: List[Dict[str, Any]], report_date: str) -> str "1. forecast_high 是今日预报最高温(℃),weather_code 是天气现象代码\n" "2. 根据 weather_code 描述天气(晴/多云/雨/雾等),根据 forecast_high 描述冷热\n" "3. 每个城市1-2句,语气轻松自然,像朋友聊天\n" - "4. 不要编造数据缺失声明,所有数据都已提供,直接基于数据播报\n" + "4. 可以在城市描述后加一句简短的户外/穿衣建议\n" "5. 城市名 用 HTML 加粗\n" "6. 开头加问候语,例如「☀️ 早上好!」\n" - "7. 总体控制在 400 字以内\n" + "7. 禁止写总结段落(如「总的来说…」)、免责声明(如「天气瞬息万变…」「请以当地最新发布为准」)\n" + "8. 总体控制在 300 字以内\n" "weather_code 参考:0=晴, 1-3=多云, 45-48=雾, 51-67=雨, 71-86=雪, 95-99=雷暴" )