feat(bot): screenshot OCR pipeline + ack delay 120s
D fix: screenshots were silently dropped (empty body + OOB url). - register xep_0066, capture msg['oob']['url'] when body empty - also handle body-as-URL messages (some clients put URL in body) - download from upload.yoin.fun, OCR via SenseNova (sensenova-6.7-flash-lite) - inject OCR text as context into LLM call - config at /home/hmo/.config/mofin/ocr_config.json (outside repo) - replaces dead node122 GLM-OCR path (host unreachable) A+B fix: ACK_DELAY 15s -> 120s. 15s fired on every normal LLM cold-start (20-100s), now only signals genuine hangs.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"key": "sk-aRNj3UwKSLPsDfh15QNTPwbHxahblfaO",
|
||||
"base_url": "https://token.sensenova.cn/v1",
|
||||
"model": "sensenova-6.7-flash-lite"
|
||||
}
|
||||
Reference in New Issue
Block a user