mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-21 00:21:49 +00:00
Web search interception could only be switched on by editing config.yaml and restarting the proxy, so an admin had no way to turn it on, choose which providers it covers, or pick which configured search tool runs the searches without a redeploy. Adds GET/PATCH /get|update/websearch_interception_settings backed by a WebSearchInterceptionSettings model, and an Admin Settings panel that reads and writes them. Config/database precedence comes from the existing settings store, so a key the config file declares is still refused here. The stored settings apply to a running proxy: the DB poll rebuilds the WebSearchInterceptionLogger, removing the old instance before adding the new one, because two instances with different params hash differently in the callback dedup key and the first to short-circuit would win. A proxy that activates interception the existing way, through litellm_settings.callbacks with no stored params, is left untouched. |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||
| Dockerfile | ||
| nginx.conf | ||