Skip to content

cohere[patch]: fix(cohere): bump client version #4786

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 15, 2024

Conversation

Gr33nLight
Copy link
Contributor

@Gr33nLight Gr33nLight commented Mar 15, 2024

This bumps the version of the cohere-ai ts client. It fixes an issue with the cohere-ai package running on aws lambda to where the fetch function is not defined in some node versions because of the default export, more info mentioned on the issue below.
twitter. https://twitter.com/Gr33nLight_

Fixes cohere-ai/cohere-typescript#136

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Mar 15, 2024
Copy link

vercel bot commented Mar 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchainjs-api-refs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 15, 2024 8:38pm
langchainjs-docs ✅ Ready (Inspect) Visit Preview Mar 15, 2024 8:38pm

@dosubot dosubot bot added the auto:bug Related to a bug, vulnerability, unexpected error with an existing feature label Mar 15, 2024
@@ -39,7 +39,7 @@
"license": "MIT",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! 👋 I noticed that the "cohere-ai" dependency version has been updated from "^7.6.2" to "^7.8.0" in the "dependencies" section of the package.json file. This change is flagged for your review to ensure it aligns with the project's peer/hard dependencies. Keep up the great work! 🚀

@jacoblee93
Copy link
Collaborator

Thanks! Will merge and cut a new release of @langchain/cohere today.

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. and removed size:XS This PR changes 0-9 lines, ignoring generated files. labels Mar 15, 2024
@Gr33nLight
Copy link
Contributor Author

Thanks! Will merge and cut a new release of @langchain/cohere today.

Great, also was about to commit the TS types changes to fix the build errors but you anticipated me hahah

@jacoblee93 jacoblee93 merged commit a320ee2 into langchain-ai:main Mar 15, 2024
17 checks passed
@jacoblee93
Copy link
Collaborator

Beat you to it! Thanks again.

@jacoblee93 jacoblee93 changed the title fix(cohere): bump client version cohere[patch]: fix(cohere): bump client version Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:bug Related to a bug, vulnerability, unexpected error with an existing feature size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error running on AWS lambda node 18 TypeError: fetchFn is not a function
2 participants