mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-16 21:08:17 +00:00
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. |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| crud.js | ||
| crud.spec.js | ||
| index.js | ||
| preflight.js | ||
| preflight.spec.js | ||
| process.js | ||
| process.spec.js | ||