fix: drop_params setting LiteLLM
This commit is contained in:
@@ -47,6 +47,11 @@
|
|||||||
# Prometheus scrapes with a bearer token from an agenix secret on AZ-PRM-1.
|
# Prometheus scrapes with a bearer token from an agenix secret on AZ-PRM-1.
|
||||||
settings["require_auth_for_metrics_endpoint"] = True
|
settings["require_auth_for_metrics_endpoint"] = True
|
||||||
|
|
||||||
|
# LiteLLM >= 1.106 forwards OpenAI-only params (e.g. "store") to every
|
||||||
|
# provider instead of silently ignoring them; Mistral & Co. then reject
|
||||||
|
# the request with UnsupportedParamsError. Drop unsupported params.
|
||||||
|
settings["drop_params"] = True
|
||||||
|
|
||||||
# LiteLLM >= 1.106 warns about the shared static UI login via
|
# LiteLLM >= 1.106 warns about the shared static UI login via
|
||||||
# UI_USERNAME/UI_PASSWORD or the master key. Admin accounts live in
|
# UI_USERNAME/UI_PASSWORD or the master key. Admin accounts live in
|
||||||
# the DB (Internal Users, role proxy_admin), so the env login is off.
|
# the DB (Internal Users, role proxy_admin), so the env login is off.
|
||||||
|
|||||||
Reference in New Issue
Block a user