mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-09-23 00:25:51 +00:00
Replace the raw green/red diff palette in DiffView and CodeWindowHeader with the existing status-success/status-error semantic roles, so a customized or versioned theme moves the diff colors with it. Compose the shared Button primitive in the ask option rows instead of recreating hover, focus-visible and disabled appearance locally, and swap the raw text-white on the checked badge for text-on-status. Prefer a THINK part's generated reasoning_label in the grouped rendering path, matching the standalone Reasoning path, with the generic Thinking/Thoughts text only as a fallback. Derive grouped tool completion and failure from the run step's terminal status through the shared resolveToolCallPhase helper, so a step the run closed as failed with empty or benign output no longer reads as running and then reports success while the card beside it shows a failure. Carry an explicit failed flag on a summarize round that ended in error, so the partial deltas already streamed into the slot are no longer presented under the "Conversation summarized" label. Also drop seven orphaned English locale keys this branch left unused, which were failing the unused-i18n static check. |
||
|---|---|---|
| .. | ||
| api | ||
| client | ||
| data-provider | ||
| data-schemas | ||