bug: Knowledge file_ids never persists — /file/add and /update return 200 but the KB→file link is lost (backend, API-only repro, v0.9.6)

用户通过纯 REST API 操作 Open WebUI v0.9.6(Docker 镜像 ghcr.io/open-webui/open-webui:main )的 Knowledge 功能。后端使用 Ollama 提供嵌入模型( RAG_EMBEDDING_ENGINE=ollama , RAG





![[POSSIBLE BUG] Model inconsistency between commandline and Desktop App.](https://www.chat-gpts.plus/wp-content/uploads/2026/06/16822-b6e21502-768x403.jpg)

