mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-09-11 17:11:23 +00:00
Four gaps, all in code this PR introduced. The OpenAI-compatible controllers wired the provisioning callback but not the query that fills its queue, so deferred discovery was skipped on those API paths and later code or search calls ran without earlier attachments. Provisioning also hard-coded the default Code API. An agent using a configured stateful environment had its file uploaded to the wrong deployment and re-uploaded by priming, and a deployment whose only healthy Code API is the stateful one could not provision at all. The resolved route now flows through the upload and is recorded in the reference key. Deferred candidates skipped endpoint filtering: a file the endpoint refuses by size, MIME type, or a files-disabled setting could still reach the Code API or RAG through provisioning after being removed from delivery. The same filter now governs both paths. A missing RAG_API_URL reported a benign non-embed, so the queue cleared and file_search ran as though its input were present. It is a provisioning failure now, and vector failures abort the turn like code failures do. An earlier commit argued search only narrows results; that was wrong, since a search silently omitting the file the user asked about is a wrong answer rather than a smaller one. |
||
|---|---|---|
| .. | ||
| app | ||
| cache | ||
| config | ||
| db | ||
| models | ||
| server | ||
| strategies | ||
| test | ||
| utils | ||
| jest.config.js | ||
| jsconfig.json | ||
| package.json | ||
| typedefs.js | ||