diff --git a/cohere-openapi.yaml b/cohere-openapi.yaml index ecf8c97e..1f23ec87 100644 --- a/cohere-openapi.yaml +++ b/cohere-openapi.yaml @@ -7349,7 +7349,7 @@ paths: import cohere - co = cohere.Client() + co = cohere.ClientV2() response = co.chat( diff --git a/snippets/snippets/python/chat-v2-post/tools.py b/snippets/snippets/python/chat-v2-post/tools.py index 63a57e05..47c4085c 100644 --- a/snippets/snippets/python/chat-v2-post/tools.py +++ b/snippets/snippets/python/chat-v2-post/tools.py @@ -1,6 +1,6 @@ import cohere -co = cohere.Client() +co = cohere.ClientV2() response = co.chat( model="command-r-plus-08-2024",