continue icon indicating copy to clipboard operation
continue copied to clipboard

Embedding model -reason: unable to get local issuer certificate

Open majuansari opened this issue 1 year ago • 3 comments

Before submitting your bug report

Relevant environment info

- OS: Macosx 
- Continue: v0.0.43-jetbrains
- IDE: Intellij

Description

FetchError: request to https://api.voyageai.com/v1/embeddings failed, reason: unable to get local issuer certificate

To reproduce

"embeddingsProvider": {
	"provider": "openai",
	"model": "voyage-code-2",
	"apiBase": "https://api.voyageai.com/v1/",
	"apiKey": "--"
},

Add voyage ai or open ai as embedding provider.

And run @codebase explain.

Quesiton: is there a verify_ssl for embedding provider ?

Log output

Error running handler for "context/getContextItems":  FetchError: request to https://api.voyageai.com/v1/embeddings failed, reason: unable to get local issuer certificate
FetchError: request to https://api.voyageai.com/v1/embeddings failed, reason: unable to get local issuer certificate

majuansari avatar May 02 '24 20:05 majuansari

@majuansari In the next release of the JetBrains extension (0.0.47, and currently in VS Code) you will be able to use the global "requestOptions" object. It is the same as the one you can put inside of a model, but goes in the root of config.json.

sestinj avatar May 02 '24 21:05 sestinj

Thanks for the update @sestinj . Any tentative timeline for the release?

majuansari avatar May 03 '24 07:05 majuansari

Aiming for Friday!

sestinj avatar May 08 '24 00:05 sestinj

I'm going to close this issue now that the release has long since been available. Feel free to open another issue if any other problems come up!

sestinj avatar Sep 29 '24 21:09 sestinj