mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
fix(router.py): enable calling router with instructor
This commit is contained in:
parent
11b63bfba7
commit
4e233c915b
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