Skip to content

Commit

Permalink
Autoformat
Browse files Browse the repository at this point in the history
  • Loading branch information
jackmpcollins committed May 23, 2024
1 parent 882ec62 commit a674426
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/chat_model/test_litellm_chat_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def test_litellm_chat_model_metadata(litellm_success_callback_calls):
callback_call = litellm_success_callback_calls[-1]
assert callback_call["kwargs"]["litellm_params"]["metadata"] == {"foo": "bar"}


@pytest.mark.litellm_openai
def test_litellm_chat_model_custom_llm_provider(litellm_success_callback_calls):
"""Test that provided custom_llm_provider is passed to the litellm success callback."""
Expand All @@ -64,6 +65,7 @@ def test_litellm_chat_model_custom_llm_provider(litellm_success_callback_calls):
callback_call = litellm_success_callback_calls[-1]
assert callback_call["kwargs"]["litellm_params"]["custom_llm_provider"] == "custom"


@pytest.mark.parametrize(
("prompt", "output_types", "expected_output_type"),
[
Expand Down

0 comments on commit a674426

Please sign in to comment.