You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When you insert a Cohere API key, it gives an error when trying to use the LLM saying:
Retrying langchain_community.llms.cohere.acompletion_with_retry.<locals>._completion_with_retry in 4.0 seconds as it raised CohereAPIError: invalid type: parameter stop_sequences is of type string but should be of type []Object.
To Reproduce
Insert Cohere API key
Use the LLM
Check console.
Expected behavior
A response, instead it gets hungup with a langchain error.
Additional context
I believe it's because Cheshire Cat is sending just a string instead of an array of strings.
The text was updated successfully, but these errors were encountered:
Hi, thanks for address the issue.
The error seems related to a deprecated version of the class we use to interact with cohere, and a PR is already open to fix the problem.
Sorry for the incontinence but langchain is evolving to fast and we don't XD
Describe the bug
When you insert a Cohere API key, it gives an error when trying to use the LLM saying:
To Reproduce
Expected behavior
A response, instead it gets hungup with a langchain error.
Additional context
I believe it's because Cheshire Cat is sending just a string instead of an array of strings.
The text was updated successfully, but these errors were encountered: