[Bug]: `refresh_ref_docs()` / `arefresh_ref_docs()` drop kwargs after the first document in a batch
![[Bug]: `refresh_ref_docs()` / `arefresh_ref_docs()` drop kwargs after the first document in a batch](https://www.chat-gpts.plus/wp-content/uploads/2026/06/21518-40a95a4b-768x403.jpg)
该 Bug 存在于 LlamaIndex 工具的 BaseIndex 类中,具体在 refresh_ref_docs() 和其异步版本 arefresh_ref_docs() 方法中。当用户想批量刷新多个文档并为每个文档传入自定义 insert_kwargs 或 update_kwargs 时,只有
![[Question]: No APIToken found for token](https://www.chat-gpts.plus/wp-content/uploads/2026/06/14985-6f4420a5-768x403.jpg)

![[Bug]: Image Recognition Regression in Chat Assistant after Authorization Fix](https://www.chat-gpts.plus/wp-content/uploads/2026/06/6822-f34e0198-768x403.jpg)
![[Bug] /v1/internal/model/load silently ignores `args` (loader flags like ctx-size, cache-type) — endpoint returns OK but model loads with UI](https://www.chat-gpts.plus/wp-content/uploads/2026/06/7577-f376545a-768x403.jpg)
![[SYCL][DOCKER] Increased Gemma 4 26b performance with updated docker dependencies](https://www.chat-gpts.plus/wp-content/uploads/2026/06/24045-65cf0f68-768x403.jpg)



