diff --git a/app/wework_bot.py b/app/wework_bot.py index 712b097..62d766a 100644 --- a/app/wework_bot.py +++ b/app/wework_bot.py @@ -283,10 +283,12 @@ class WeComBotService: if status == "duplicate": dup_id = result.get("duplicate_of", "?") + ocr_text = result.get("ocr_text", "") + preview = ocr_text[:200].replace("\n", " ") if ocr_text else "无识别内容" await self.ws_client.reply_stream( frame, stream_id, - f"该图片内容已存在于知识库中(ID: {dup_id}),无需重复录入。", + f"🔄 该图片内容已存在于知识库中(ID: {dup_id}),无需重复录入。\n\n识别内容:\n{preview}{'...' if len(ocr_text) > 200 else ''}", True, ) elif status == "completed":