Skip to content

Commit

Permalink
Fix test_litellm_client
Browse files Browse the repository at this point in the history
  • Loading branch information
henchaves committed Nov 21, 2024
1 parent 77e6a4f commit cab45a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/llm/test_llm_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def test_litellm_client(completion):
completion.return_value = DEMO_OPENAI_RESPONSE
client = Mock()
client.chat.completions.create.return_value = DEMO_OPENAI_RESPONSE
res = LiteLLMClient("gpt-4o", {"api_key": "api_key"}).complete(
res = LiteLLMClient("gpt-4o", True, completion_params={"api_key": "api_key"}).complete(
[ChatMessage(role="system", content="Hello")], temperature=0.11, max_tokens=1
)

Expand Down

0 comments on commit cab45a1

Please sign in to comment.