mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
(testing - litellm.Router ) add unit test coverage for pattern matching / wildcard routing (#6250)
* add testing coverage for pattern match router * fix add_pattern * fix typo on router_cooldown_event_callback * add testing for pattern match router * fix add explanation for pattern match router
This commit is contained in:
parent
c390b07e29
commit
183bd5d873
3 changed files with 159 additions and 5 deletions
|
@ -25,7 +25,7 @@ async def router_cooldown_event_callback(
|
|||
"""
|
||||
Callback triggered when a deployment is put into cooldown by litellm
|
||||
|
||||
- Updates deploymen state on Prometheus
|
||||
- Updates deployment state on Prometheus
|
||||
- Increments cooldown metric for deployment on Prometheus
|
||||
"""
|
||||
verbose_logger.debug("In router_cooldown_event_callback - updating prometheus")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue