Skip to content

Commit 9280b97

Browse files
Fix test
1 parent af25f3b commit 9280b97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_client_v2.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def test_chat_tools(self) -> None:
7979

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

0 commit comments

Comments
 (0)