LibreChat/client
Marco Beretta 0173047549 🧰 refactor: Pure Step Reducer for Tool Call Events (#16290)
* refactor: lift tool call step transitions into pure reducers

Add pure reducers for tool_calls run steps, argument deltas, completions
and run-step closures, and move the skill-authoring detection with them.
useStepHandler keeps the step-to-tool-call-id map and records the id each
reducer returns.

* test: cover tool call rendering order with an e2e scenario

* test: anchor the tool call scenario on the code execution card

* test: state the tool reducer guarantees the tests actually cover

Drop the claim that a replayed run step is idempotent after completion and
that a completion may arrive before its run step; cover re-announcing an
open step instead. Match the code card by its name prefix, since a slow
run appends its duration.

(cherry picked from commit 9c7555ab0d)

Original-PR: https://github.com/LibreChat-AI/LibreChat/pull/16290
2026-10-01 03:46:17 +00:00
..
public 🧩 feat: MCP Apps support (#13831) 2026-10-01 03:46:16 +00:00
src 🧰 refactor: Pure Step Reducer for Tool Call Events (#16290) 2026-10-01 03:46:17 +00:00
sw
test
babel.config.cjs
check_updates.sh
index.html 🗄️ fix: Fall Back to In-Memory Storage When Web Storage Is Denied (#16431) 2026-09-28 12:28:52 +02:00
jest.config.cjs 🧩 feat: MCP Apps support (#13831) 2026-10-01 03:46:16 +00:00
jest.resolver.cjs
nginx.conf
package.json 🧩 feat: MCP Apps support (#13831) 2026-10-01 03:46:16 +00:00
postcss.config.cjs 🌊 refactor: Upgrade the Client to Tailwind v4 (#15996) 2026-10-01 03:46:16 +00:00
tailwind.config.cjs 🎨 feat: Check Color Tokens and Class Existence (#16041) 2026-10-01 03:46:16 +00:00
tsconfig.json
vite.config.ts 🖼️ fix: Precache PWA Icons and Let Them Refresh (#15654) 2026-09-06 11:32:09 -04:00