LibreChat/packages
Danny Avila 305107998d
🌊 fix: Preserve Custom Endpoint streamRate When endpoints.all Is Defined (#14645)
* 🌊 fix: Preserve Custom Endpoint `streamRate` When `endpoints.all` Is Defined

`buildCustomOptions` assigned `allConfig.streamRate` unconditionally whenever
an `endpoints.all` block existed, overwriting the per-endpoint `streamRate`
with `undefined` for any `all` block that did not define one of its own.

The value is read back later to set `_lc_stream_delay` on the llmConfig, so
stream smoothing was silently disabled for every custom endpoint whenever
`endpoints.all` was present for unrelated reasons (e.g. `activityLabel`).

Guard on `allConfig?.streamRate`, matching the existing OpenAI path.

* 🌊 fix: Preserve Explicit `streamRate: 0` Through the Custom Endpoint Chain

Codex review: truthy guards dropped zero-valued streamRate at both the
endpoints.all override and the llmConfig assignment. With agents 3.4.0
defaulting stream smoothing ON, 0 becomes the explicit disable, so both
sites now use nullish guards; endpoints.all.streamRate: 0 overrides an
endpoint-level rate and an endpoint-level 0 reaches _lc_stream_delay.
Spec extended with both zero cases.
2026-08-05 19:43:22 -04:00
..
api 🌊 fix: Preserve Custom Endpoint streamRate When endpoints.all Is Defined (#14645) 2026-08-05 19:43:22 -04:00
client ️ a11y: improve keyboard operability, focus retention, and accessible naming (#14600) 2026-08-05 13:03:30 -04:00
data-provider 🎟️ fix: Reconcile MCP OAuth Readiness Across Pods (#14629) 2026-08-05 19:42:26 -04:00
data-schemas 🔒 feat: Add allowedAddresses Exemption to Speech (STT/TTS) and OCR Config Schemas (#14559) 2026-08-05 13:42:43 -04:00