mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
fix(router.py): fix pydantic object logic
This commit is contained in:
parent
acdb3a7f7e
commit
a4a8129a13
2 changed files with 16 additions and 8 deletions
|
@ -181,7 +181,7 @@ def test_weighted_selection_router_tpm_as_router_param():
|
|||
pytest.fail(f"Error occurred: {e}")
|
||||
|
||||
|
||||
test_weighted_selection_router_tpm_as_router_param()
|
||||
# test_weighted_selection_router_tpm_as_router_param()
|
||||
|
||||
|
||||
def test_weighted_selection_router_rpm_as_router_param():
|
||||
|
@ -433,7 +433,7 @@ def test_usage_based_routing():
|
|||
|
||||
selection_counts[response["model"]] += 1
|
||||
|
||||
# print("selection counts", selection_counts)
|
||||
print("selection counts", selection_counts)
|
||||
|
||||
total_requests = sum(selection_counts.values())
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue