Open dpmanek opened 23 hours ago
+1
just confirmed endpoint was working with a curl command
curl --request POST \ --url https://api.anthropic.com/v1/messages \ --header 'anthropic-version: 2023-06-01' \ --header 'content-type: application/json' \ --header 'x-api-key: YOUR_API_KEY' \ --data '{ "model": "claude-3-5-sonnet-20241022", "max_tokens": 1024, "messages": [ { "role": "user", "content": "Hello, Claude!" } ] }'
{"id":"msg_01F3PPHbxPxrYVyFzezbydhJ","type":"message","role":"assistant","model":"claude-3-5-sonnet-20241022","content":[{"type":"text","text":"Hi! I'm happy to help. What's on your mind?"}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":11,"output_tokens":17}}%
Switched over to the OpenRouter api and the 3-5 beta model works fine for me.
Same here. Happens since last Cline update. I downgraded to version 2.1.4 and no more connection errors
Which API Provider are you using?
Anthropic
Which Model are you using?
Claude 3.5 Sonnet
What happened?
API request Failed. Connection error.
Steps to reproduce
Shows connection error. API request failed. worked perfectly before.
Relevant API REQUEST output
No response
Additional context
No response