fix(phase34): 圖片分析改用 send_as_openclaw 發到 SRE 群組
Some checks failed
CD Pipeline / build-and-deploy (push) Has been cancelled
Some checks failed
CD Pipeline / build-and-deploy (push) Has been cancelled
send_notification 發到私人 chat,改用 send_as_openclaw 發到 SRE 戰情室 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -168,11 +168,11 @@ class ImageAnalysisService:
|
||||
question=question,
|
||||
)
|
||||
if result:
|
||||
# Phase 34: OpenClaw bot 回覆圖片分析結果(llava vision)
|
||||
# Phase 34: OpenClaw 在 SRE 群組回覆圖片分析結果(llava vision)
|
||||
from src.services.telegram_gateway import get_telegram_gateway
|
||||
tg = get_telegram_gateway()
|
||||
await tg.initialize()
|
||||
await tg.send_notification(f"🖼️ <b>圖片分析</b>\n{result}")
|
||||
await tg.send_as_openclaw(f"🖼️ <b>圖片分析</b>\n{result}")
|
||||
except Exception as e:
|
||||
logger.warning("download_and_analyze_failed", error=str(e))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user