Skip to content

Commit ee9d341

Browse files
authored
Bump @jupyter/chat dependency and regenerate yarn.lock, pin cohere to <5.16 (#1412)
* bump @jupyter/chat dependency, regenerate yarn.lock * pin `cohere` to `<5.16` to prevent `langchain_cohere` from breaking
1 parent bc8ecfa commit ee9d341

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

packages/jupyter-ai-magics/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ all = [
5151
"langchain_anthropic",
5252
"langchain_aws",
5353
"langchain_cohere",
54+
# Pin cohere to <5.16 to prevent langchain_cohere from breaking as it uses ChatResponse removed in cohere 5.16.0
55+
# TODO: remove cohere pin when langchain_cohere is updated to work with cohere >=5.16
56+
"cohere<5.16",
5457
"langchain_google_genai",
5558
"langchain_mistralai",
5659
"langchain_nvidia_ai_endpoints",

packages/jupyter-ai/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"@emotion/react": "^11.10.5",
6363
"@emotion/styled": "^11.10.5",
6464
"@jupyter-notebook/application": "^7.2.0",
65-
"@jupyter/chat": "^0.15.0",
65+
"@jupyter/chat": "^0.16.0",
6666
"@jupyterlab/application": "^4.2.0",
6767
"@jupyterlab/apputils": "^4.2.0",
6868
"@jupyterlab/codeeditor": "^4.2.0",

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2237,7 +2237,7 @@ __metadata:
22372237
"@emotion/react": ^11.10.5
22382238
"@emotion/styled": ^11.10.5
22392239
"@jupyter-notebook/application": ^7.2.0
2240-
"@jupyter/chat": ^0.15.0
2240+
"@jupyter/chat": ^0.16.0
22412241
"@jupyterlab/application": ^4.2.0
22422242
"@jupyterlab/apputils": ^4.2.0
22432243
"@jupyterlab/builder": ^4.2.0
@@ -2322,9 +2322,9 @@ __metadata:
23222322
languageName: node
23232323
linkType: hard
23242324

2325-
"@jupyter/chat@npm:^0.15.0":
2326-
version: 0.15.0
2327-
resolution: "@jupyter/chat@npm:0.15.0"
2325+
"@jupyter/chat@npm:^0.16.0":
2326+
version: 0.16.0
2327+
resolution: "@jupyter/chat@npm:0.16.0"
23282328
dependencies:
23292329
"@emotion/react": ^11.10.5
23302330
"@emotion/styled": ^11.10.5
@@ -2349,7 +2349,7 @@ __metadata:
23492349
clsx: ^2.1.0
23502350
react: ^18.2.0
23512351
react-dom: ^18.2.0
2352-
checksum: 3255d164756073a889fd29019da66f6cff947a5edb22cb9f7ae9ee08a6265f58eefa127133177422ed17b2ecae6482b6c1f61c549688eff9997adcdee66bde31
2352+
checksum: c92b195b5b13d57e4cd29d81e8b3f3a75b2eee15540d753fffd3a1b3536706f1d7980dd8af51ff06dbf57bc563631841ee25ad93e4be152da37bb7bcd665806a
23532353
languageName: node
23542354
linkType: hard
23552355

0 commit comments

Comments
 (0)