Is your feature request related to a problem? Please describe.
Although Cohere's API is used for embeddings and I found a request #471 for such a support closed, I was unable to use Cohere's LLMs.
Describe the solution you'd like
Here is my proposed patch below from version 2.6.2. I am a newbie in TypeScript and did it how I could, so I am not shure that everything is correct. To ensure the extension is properly built I needed to update the Cohere library as well as change the target build from "es2018" to "es2020". I have not included the lock-file so that the changes more easily understandable.
Is your feature request related to a problem? Please describe. Although Cohere's API is used for embeddings and I found a request #471 for such a support closed, I was unable to use Cohere's LLMs.
Describe the solution you'd like Here is my proposed patch below from version 2.6.2. I am a newbie in TypeScript and did it how I could, so I am not shure that everything is correct. To ensure the extension is properly built I needed to update the Cohere library as well as change the target build from "es2018" to "es2020". I have not included the lock-file so that the changes more easily understandable.
cohere_no_lock.patch