mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-05 08:07:05 +00:00
The paginated search select diffs the input against the selected option's label to recover what the user just typed, so a query started from a picked value searches for the new text rather than the label plus the new text. That diff can only express an insertion: it walks a common prefix and a common suffix and returns what sits between them. A deletion leaves nothing between them, so every deletion-only edit returned the empty string. Backspacing once in a field showing a selected label therefore threw the edit away. The empty result was stored as the query, the controlled input re-rendered blank, and the server was asked for the unfiltered page instead of the text the user left in the box. An edit that yields no insertion but did change the value is a deletion, and there the remaining text is the query the user means. Insertions and whole-selection replacements are untouched. |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||
| Dockerfile | ||
| nginx.conf | ||