mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-17 05:20:55 +00:00
* 💬 feat: Conversation Starters in Agent Builder
* fix: Preserve untouched agent starters and scope drafts to their agent
An unrelated builder save no longer rewrites stored starters: the field is
sent only when the list changed, so API-set lists past the builder cap or
with padding survive. The draft input is keyed by agent id so unsent text
does not follow the user to a new or different agent, and each delete
control now sits on its starter's row. Adds Playwright scenarios for the
builder-to-landing flow, preservation, clearing and draft scoping.
* fix: Keep starter drafts in form state and show saved starters after save
The unsent starter draft moves into react-hook-form as a builder-only
field, so it survives switching to the Model or Advanced panel and is
still cleared by the reset that loads another agent. Enter no longer adds
a starter while an IME composition is being committed. After create or
update, the starters field is reset to the stored list, so trimmed or
dropped rows do not linger and keep the add input disabled.
* fix: Keep starter edits made during a save and drop the UI-only length cap
Sync the stored starters back into the form only when the rows still hold what the save sent for the same agent, so edits typed while the request was in flight, or another agent selected meanwhile, are not overwritten. Remove the 64-character maxLength: the agent API and schema accept any length and the landing page already clamps display.
* fix: Merge a finished agent save only into the agent it was for
* test: Switch agents in place while the first save is held
|
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| sw | ||
| test | ||
| babel.config.cjs | ||
| check_updates.sh | ||
| index.html | ||
| jest.config.cjs | ||
| jest.resolver.cjs | ||
| nginx.conf | ||
| package.json | ||
| postcss.config.cjs | ||
| tailwind.config.cjs | ||
| tsconfig.json | ||
| vite.config.ts | ||