fix(phase34): 圖片分析結果改由 OpenClaw 回覆(llava vision)
Some checks failed
CD Pipeline / build-and-deploy (push) Has been cancelled

NemoTron 負責文字問答(deepseek-r1:14b),OpenClaw 負責圖片分析(llava)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
OG T
2026-04-10 14:13:57 +08:00
parent 7e5ac00d62
commit 33abe988f8

View File

@@ -168,11 +168,11 @@ class ImageAnalysisService:
question=question,
)
if result:
# Phase 34: 用 NemoTron bot 回覆圖片分析結果
# Phase 34: OpenClaw bot 回覆圖片分析結果llava vision
from src.services.telegram_gateway import get_telegram_gateway
tg = get_telegram_gateway()
await tg.initialize()
await tg.send_as_nemotron(f"🖼️ <b>圖片分析</b>\n{result}")
await tg.send_notification(f"🖼️ <b>圖片分析</b>\n{result}")
except Exception as e:
logger.warning("download_and_analyze_failed", error=str(e))