open-webui/backend
Classic298 82cfb7f9f0 fix: global default custom_params lost when a model or request sets its own custom params
When global default model params define custom_params and a model (or an API request) also defines any custom param, the whole global custom_params dict was replaced instead of merged, so global custom params silently stopped reaching the upstream request for that model.

The layer merge now overrides params per key as before, but merges the custom_params dicts key by key across layers, so a higher layer only replaces the specific custom params it actually sets. The config default is also deep-copied at the read site, since downstream code mutates params in place and could otherwise rewrite the process-wide default from a single request.

Fixes #28241
2026-08-07 12:48:29 +02:00
..
data refac: mv backend files to /open_webui dir 2024-09-04 16:54:48 +02:00
open_webui fix: global default custom_params lost when a model or request sets its own custom params 2026-08-07 12:48:29 +02:00
.dockerignore fix: litellm config issue 2024-02-24 22:35:11 -08:00
.gitignore refac 2024-09-06 04:59:20 +02:00
dev.sh refac 2026-03-24 19:43:30 -05:00
requirements-min.txt perf: optional orjson JSON codec behind ENABLE_ORJSON (#27583) 2026-07-27 03:45:37 -04:00
requirements.txt perf: optional orjson JSON codec behind ENABLE_ORJSON (#27583) 2026-07-27 03:45:37 -04:00
start.sh refac 2026-06-17 03:01:11 +02:00
start_windows.bat refac 2026-06-17 03:01:11 +02:00