Anthropic/Claude error
iwebseo
The Internets
Every Claude request fails with:
Model: claude-sonnet-4-5, Anthropic-version: 2023-06-01, new API key. OpenAI works fine with the same project.
It looks like the system prompt is sent as the first message (
messages.0: use the top-level 'system' parameter for the initial system promptModel: claude-sonnet-4-5, Anthropic-version: 2023-06-01, new API key. OpenAI works fine with the same project.
It looks like the system prompt is sent as the first message (
role: system) instead of in the top-level system field that Anthropic’s API requires.
Comments