litellm/ui
yuneng-jiang 3d3c6554fe
refactor(ui): type search tool params from the generated schema (#38633)
The search tool create and edit forms both built a payload carrying
api_base, timeout and max_retries read off form values that neither
zod schema declares, so all three were always undefined. Drop them.
JSON.stringify omits undefined-valued keys, so the request body on
the wire is unchanged.

SearchToolLiteLLMParams and SearchToolInfo in the page's types.tsx
were hand-rolled with a [key: string]: any index signature, which is
why a param could go missing from a form with nothing complaining.
SearchToolLiteLLMParams is now the generated OpenAPI component and
neither type carries an index signature, so the payload builder can
only set params the backend declares.

Also remove a stray ", ]" text node that rendered as visible garbage
next to the connection test dialog's Close button.
2026-08-28 10:03:35 -07:00
..
litellm-dashboard refactor(ui): type search tool params from the generated schema (#38633) 2026-08-28 10:03:35 -07:00
Dockerfile build(ui): bump nginx to 1.31-alpine 2026-08-27 17:09:17 +00:00
nginx.conf fix(ui): boot the UI image as an arbitrary uid by anchoring nginx writes under /tmp (#37982) 2026-08-24 11:57:36 -07:00