continue icon indicating copy to clipboard operation
continue copied to clipboard

Not able to connect with ANTHROPIC models(Claude 3 Haiku, Claude 3 opus)

Open hardihood opened this issue 1 year ago • 1 comments

Before submitting your bug report

Relevant environment info

- OS:windows
- Continue:
- IDE:intellij

Description

getting this exception when ever sending any message : request to https://api.anthropic.com/v1/messages failed, reason: self-signed certificate in certificate chain

To reproduce

No response

Log output

No response

hardihood avatar Apr 25 '24 10:04 hardihood

@hardihood Can you tell me more about your network environment and the version of Continue you are using?

sestinj avatar Apr 26 '24 07:04 sestinj

@sestinj I have the same problem with Claude and with Gemini.

- OS:MacOS
- Continue:
- IDE:vscode

Could this have something to do with a free API? Codestral works.

Messages

  • Claude: HTTP 400 Bad Request from https://api.anthropic.com/v1/messages
  • Gemini: HTTP 400 Bad Request from https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-pro-latest:streamGenerateContent?key={my-key}

tndevDE avatar Jun 24 '24 07:06 tndevDE

@sestinj Sorry, it's because of a free api key.

400 {type:error,error:{type:invalid_request_error,message:Your credit balance is too low to access the Claude API. Please go to Plans & Billing to upgrade or purchase credits.}}

tndevDE avatar Jun 26 '24 09:06 tndevDE

ah ok thanks for the update. I'll close the issue

sestinj avatar Jun 28 '24 21:06 sestinj