Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
billytrend-cohere committed Feb 28, 2025
1 parent af25f3b commit 9280b97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_client_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def test_chat_tools(self) -> None:

# call the get_weather tool
tool_result = {"temperature": "30C"}
tool_content = [cohere.Content(
tool_content = [cohere.TextContent(
output=tool_result, text="The weather in Toronto is 30C")]
messages.append(cohere.AssistantChatMessageV2(content=res.message))
if res.message.tool_calls is not None:
Expand Down

0 comments on commit 9280b97

Please sign in to comment.