Claude 3.7 agent mode outputs - 400 Failed to parse JSON

Wappler Version : 7 beta 30
Operating System : MacOS M 15.4.1 (24E263)
Server Model: Node
Database Type: Sqlite
Hosting Type: Wappler local server

Expected behavior

When Anthropic API key I provided, the agent mode should behave normal i..e generate code etc as expected.

...YOUR TEXT HERE ...

Actual behavior

When I ask AI assistant using the agent mode - I get a response as "400 Failed to parse JSON:"

How to reproduce

Setup Anthorpic API key and use Claude 3.7 or 3.5 in agent mode

Not sure if this a bug or I have done something wrong here.

I'm having the same error

I also have the same problem!

The best way is to use Claude via github copilot subscription. It is much cheaper and it works perfectly.

The direct Claude api is still buggy with their OpenAI api implementation, hence the problems. Also there you will be paying high price per token…

2 Likes