LibreChat/api/server/services/Files/Code
Tómas Pálsson 5e4ecbc24c
🧹 fix: Let File Deletes Succeed When the Code API No Longer Serves the Ref's Profile (#16671)
deleteCodeEnvFile rethrew every error except 404. A deployment that only serves
the stateful profile answers a default-profile delete with 409
execution_profile_mismatch on every retry, so the file landed in failedFileIds,
its record and agent references stayed, and agents holding it aborted every code
turn with "Failed to provision N file(s) to the code environment". The mismatch
is now handled like an absent object: logged, and the delete proceeds. Other
409s, 5xx, auth and network errors still fail the delete.
2026-10-04 11:38:31 -04:00
..
__tests__ 🥽 feat: Configure Attached Defaults and Honor Skill Read Ranges (#16540) 2026-10-01 19:57:08 -04:00
crud.js 🧹 fix: Let File Deletes Succeed When the Code API No Longer Serves the Ref's Profile (#16671) 2026-10-04 11:38:31 -04:00
crud.spec.js 🧹 fix: Let File Deletes Succeed When the Code API No Longer Serves the Ref's Profile (#16671) 2026-10-04 11:38:31 -04:00
index.js
preflight.js
preflight.spec.js
process.js 🪀 fix: Separate Workspace Admission and Transport Budgets (#16728) 2026-10-03 21:22:30 -04:00
process.spec.js 🪀 fix: Separate Workspace Admission and Transport Budgets (#16728) 2026-10-03 21:22:30 -04:00