mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-07-04 21:32:10 +00:00
The dev rebase pulled in #13550's chat.spec.ts test, which drives the legacy 3-way dropdown (Attach File Options -> Upload to Provider). This PR makes unified mode the default, so that dropdown is gone -> the test timed out on the rebased branch. Fix by configuring the two mock endpoints for the two UXs (one harness, dual coverage): - Mock Provider A: legacyFileUploadUX true -> legacy dropdown + provider csv, so #13550's test passes unchanged. - Mock Provider B: unified, per-mime routing (csv/text/xlsx -> none, markdown -> provider). unified-upload.spec.ts runs on Mock Provider B and now asserts BOTH: 1. a none-routed csv persists llmDeliveryPath 'none' (kept out of LLM delivery); 2. a provider-routed markdown is STILL delivered to the model AND shown as a chat attachment chip — unified mode does not lose upload-to-provider. |
||
|---|---|---|
| .. | ||
| mock | ||
| real | ||
| a11y.spec.ts | ||
| keys.spec.ts | ||
| landing.spec.ts | ||
| messages.spec.ts | ||
| nav.spec.ts | ||
| popup.spec.ts | ||
| settings.spec.ts | ||