Issues with OpenAI & Anthropic API in Bolt.DIY

Hi everyone,

I’m facing issues while using OpenAI and Anthropic APIs in Bolt.DIY. Here are the specific errors I’m getting:

:one: Anthropic API Error:

Error: Not enough tokens

Issue: I’m trying to use the Anthropic API, but I keep getting this error. I’m not sure if it’s due to a quota limit, token usage issue, or account restrictions.

What I’ve Tried:

Reducing the input text length

Checking my Anthropic account for usage limits

Switching to a different Claude model

:two: OpenAI API Error:

Error: “You don’t have access”

Issue: I have an active OpenAI API key, but I keep getting this error.

What I’ve Tried:

Checking my API key and generating a new one

Verifying my OpenAI account and billing details

Trying a different model (gpt-3.5-turbo instead of gpt-4-turbo)

If anyone has faced similar issues or has solutions, please let me know!