mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-13 23:07:47 +00:00
1a7fd1d1c7
* test(test_router.py): initial unit test confirming router.afile_content uses dynamic api key / api base * fix(managed_files.py): filter deployments for only those within file id mapping ensure call works - only route to models where the file was written * fix(proxy_server.py): fix loading in model ids from config, if config id is int * fix(router.py): return all model file id mappings on create_file if multiple deployments - this ensures all the file id mappings are bubbled up Fixes issue when trying to use loadbalanced deployments - only 1 file id mapping was being stored * feat(router_utils/common_utils.py): filter models by team id when selecting for routing Prevents team only models from being used by other teams * fix(common_utils.py): additional fixes around filtering team-based models * fix(batches_endpoints/endpoints): support list batches with target model names specified * fix(common_utils.py): more testing for team deployment filters