fix(phase34): 圖片分析結果改由 OpenClaw 回覆(llava vision)
Some checks failed
CD Pipeline / build-and-deploy (push) Has been cancelled
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:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user