mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
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. |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||
| Dockerfile | ||
| nginx.conf | ||