mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-09-10 08:31:37 +00:00
Addresses two Codex round-2 P1 findings: - Liveness: checkSessionsAlive trusted file.updatedAt to skip the code-env live check, but updateFilesUsage bumps updatedAt on resend, so a usage-touched file with an expired sandbox session was wrongly treated as alive. Stamp codeEnvRef with provisionedAt at upload time and gate the fast-path on that instead; refs without the marker fall through to a live check. - Routing: an agent upload carries endpoint=agents, so provider-specific defaultLLMDeliveryPath overrides (endpoints.<Provider>) were ignored and a none/tool-only file could be persisted as text/provider. Resolve the file config from the agent's own provider when agent_id is present. |
||
|---|---|---|
| .. | ||
| controllers | ||
| middleware | ||
| routes | ||
| services | ||
| utils | ||
| cleanup.js | ||
| csp.spec.js | ||
| experimental.js | ||
| experimental.spec.js | ||
| index.js | ||
| index.metrics.spec.js | ||
| index.spec.js | ||
| socialLogins.js | ||
| socialLogins.spec.js | ||
| telemetry.js | ||
| telemetry.spec.js | ||