mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-08-04 14:57:42 +00:00
- request.js: record a scheduled fire's HITL pause as requires_action before returning, so overlap/capacity (which key on 'started') stop counting it as active immediately instead of after the reconcile min-age delay. - request.js: the late-abort finalization records the interrupted outcome first and only completeJob's when that write succeeded — leaving a preserved aborted job intact rather than overwriting it as an error job (which reconcile would count toward failure auto-disable). - resume.js: gate the resume-failure completeJob on the outcome write, preserving the job for reconcile when it failed. - RedisJobStore: a terminal updateJob without completedAt is the preserve signal, so retain the job hash on the longer running TTL (not the 300s completed TTL) — giving reconcile a window instead of a 5-minute race; it deletes the job after. |
||
|---|---|---|
| .. | ||
| app | ||
| cache | ||
| config | ||
| db | ||
| models | ||
| server | ||
| strategies | ||
| test | ||
| utils | ||
| jest.config.js | ||
| jsconfig.json | ||
| package.json | ||
| typedefs.js | ||