LibreChat/api/server/services/Endpoints
Danny Avila 9c6cb14e01 🐛 fix: Reconcile lazy code-env provisioning with execution routes
Code env pointers are deployment-local, but the liveness probe always queried
the default Code API. With the staleness repair now live, a ref belonging to a
configured stateful route would fail that probe and be cleared, re-uploading a
still-valid file to the wrong deployment. Only default-route refs take part in
the check and only they can be cleared.

Lazy provisioning also wrote a bare codeEnvRef while the eager upload path
persists through mergeCodeEnvRef. Both paths now write the same shape, so the
legacy pointer and the route-keyed map stay in sync and pointers for other
routes survive re-provisioning.

Provisioning computation moves into a helper that both return paths call, so a
turn carrying no request attachments still queues the agent's persistent
context files instead of skipping them at the early return.
2026-08-31 07:37:58 -04:00
..
agents 🐛 fix: Reconcile lazy code-env provisioning with execution routes 2026-08-31 07:37:58 -04:00
assistants 🛂 feat: Filter Model-Bound Content by Source (#14425) 2026-08-21 22:43:32 -04:00
azureAssistants 🪪 fix: Strip Unresolved Header Placeholders at Final Resolution (#14595) 2026-08-02 06:38:06 -04:00
titlePolicy.js 🛂 feat: Filter Model-Bound Content by Source (#14425) 2026-08-21 22:43:32 -04:00
titlePolicy.test.js 🛂 feat: Filter Model-Bound Content by Source (#14425) 2026-08-21 22:43:32 -04:00