mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
fix(router.py): enable calling router with instructor
This commit is contained in:
parent
9d8f872f38
commit
1d635aff08
3 changed files with 17 additions and 6 deletions
|
@ -55,6 +55,8 @@ class Router:
|
|||
if cache_responses:
|
||||
litellm.cache = litellm.Cache(**cache_config) # use Redis for caching completion requests
|
||||
self.cache_responses = cache_responses
|
||||
|
||||
self.chat = litellm.Chat(params={})
|
||||
|
||||
|
||||
def _start_health_check_thread(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue