快速结论:该报错的核心英文提示是 “[Bug]: embedding /parsing a file crashes with a nasty stack trace”,通常发生在 RAGFlow 解析文件完成、进入向量化(embedding)阶段时:embedding API 返回的向量数量与会话块(chunk)数量不一致,触发 assert len(vects) == len(docs) 断言失败。优先排查 LiteLLM 代理到 Gemini embedding 模型的批量请求响应,并尝试把 EMBEDD
参考来源
AI 工具推荐
想把多个 AI 模型放在一个入口?
GamsGo AI 集成 ChatGPT、DeepSeek、Gemini、Claude、Midjourney、Veo 等常用模型,适合写作、绘图、视频和日常 AI 工作流。
推广链接:通过此链接购买,我可能获得佣金,不影响你的价格。
这个方案解决了吗?
可以继续搜索完整报错,或查看同一工具的其他排查指南。
![[Question]: error when attaching file in chat ----AttributeError("'Request' object has no attribute 'file'")](https://www.chat-gpts.plus/wp-content/uploads/2026/08/11805-40332ec3-768x403.jpg)
![[Question]: No keyword or question was found in dataSet afer files loaded by customized ingestion pipeline](https://www.chat-gpts.plus/wp-content/uploads/2026/08/11474-a36958b1-768x403.jpg)
