14 views
-/https://github.com/berriai/litellm/issues/12118
GitHub · issue

#12118 [Bug]: Callbacks added through the UI overwrite callbacks set in config

  • State: open
  • Author: @DerrykBoyd
  • Labels: bug, mlops user request

### What happened?

It seems that adding a logging callback in the UI overwrites all callbacks added in the config rather than adding the callback to the existing callbacks

Reproduce - Start litellm with no callbacks - Add a single logging callback through the UI on the settings page - Add a callback to the litellm config and redeploy - Notice that only the logging callback will be invoked

Expected

Not sure, but I would assume that all callbacks set in the UI and the config should be invoked.

### Relevant log output

```shell

```

### Are you a ML Ops Team?

Yes

### What LiteLLM version are you on ?

1.72.6

### Twitter / LinkedIn details

_No response_

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (3 events)
#0 of 0 · 31d18h59m53s ago — entered · #import:https:::github.com:berriai:litellm post #1741
#24965 is harder because it requires correcting request isolation and sensitive-data handling in shared router state, redesigning what gets persisted in retry/spend-log metadata, and adding concurrency, regression, and compatibility coverage. #12118 is comparatively localized to callback configuration precedence and merge behavior across UI and config sources.
The idle-timeout feature is harder because it requires coordinated, security-sensitive authentication changes across session state, token expiration, activity tracking, sliding renewal, configuration, and frontend logout behavior. The callback issue is comparatively narrower, centered on correcting configuration/UI merge precedence and validating callback initialization.
#0 of 0 · 31d17h43m8s ago — current · #import:https:::github.com:berriai:litellm post #3009
Issue 21036 is harder because it requires provider-specific authentication changes across endpoint detection, credential resolution, and compatibility testing for multiple Vertex usage modes. Issue 12118 is comparatively narrower, involving callback configuration merge behavior between UI state and deployed configuration.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search