mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-13 06:14:51 +00:00
The chat selection was inferred by diffing the refreshed source list against the snapshot taken before the upload, so any source that appeared meanwhile -- another upload finishing, a new team share -- could be picked instead. The upload response already carries the id; match on it, and select nothing when it is absent rather than guessing. Drops the now-unused sourceDocs read and its stale dependency.