Skip to content

Commit 91d51f3

Browse files
Updates deprecated cohere model name (#115)
1 parent d0ab058 commit 91d51f3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python-recipes/llm-message-history/00_llm_message_history.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
"import os\n",
139139
"\n",
140140
"class CohereClient():\n",
141-
" def __init__(self, api_key: str = None, model: str = 'command-r-plus'):\n",
141+
" def __init__(self, api_key: str = None, model: str = 'command-r-plus-08-2024'):\n",
142142
" api_key = api_key or os.getenv(\"COHERE_API_KEY\")\n",
143143
" self.client = cohere.Client(api_key)\n",
144144
" self._model = model\n",

python-recipes/llm-message-history/01_multiple_sessions.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
"import os\n",
136136
"\n",
137137
"class CohereClient():\n",
138-
" def __init__(self, api_key: str = None, model: str = 'command-r-plus'):\n",
138+
" def __init__(self, api_key: str = None, model: str = 'command-r-plus-08-2024'):\n",
139139
" api_key = api_key or os.getenv(\"COHERE_API_KEY\")\n",
140140
" self.client = cohere.Client(api_key)\n",
141141
" self._model = model\n",

0 commit comments

Comments
 (0)