We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af25f3b commit 9280b97Copy full SHA for 9280b97
tests/test_client_v2.py
@@ -79,7 +79,7 @@ def test_chat_tools(self) -> None:
79
80
# call the get_weather tool
81
tool_result = {"temperature": "30C"}
82
- tool_content = [cohere.Content(
+ tool_content = [cohere.TextContent(
83
output=tool_result, text="The weather in Toronto is 30C")]
84
messages.append(cohere.AssistantChatMessageV2(content=res.message))
85
if res.message.tool_calls is not None:
0 commit comments