From 3b553fcd64c48318bf33d0efc8c7711612cd56d6 Mon Sep 17 00:00:00 2001 From: platform-endpoints Date: Wed, 4 Dec 2024 19:52:42 +0000 Subject: [PATCH] Add spec changes Co-authored-by: Michael --- cohere-openapi.yaml | 2 +- snippets/snippets/python/chat-v2-post/tools.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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",