Skip to content

Commit

Permalink
added test_routing_w_models_skip_providers.
Browse files Browse the repository at this point in the history
  • Loading branch information
djl11 committed Nov 6, 2024
1 parent fc1d359 commit d16e47d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test_routing/test_routing_syntax.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,12 @@ def test_routing_skip_models():
).generate("Hello.")


def test_routing_w_models_skip_providers():
unify.Unify(
"router@q:1|i:0.5|models:claude-3-haiku,claude-3-sonnet|"
"skip_providers:aws-bedrock",
).generate("Hello.")


if __name__ == "__main__":
pass

0 comments on commit d16e47d

Please sign in to comment.