@sand hearth
Description:
Not sure what I'm doing wrong. my json is configured to use Claude correctly.
What I've Tried:
Reviewed the settings.json and there are no mistakes (other providers work with just key and api endpoint swap
{
"env": {
"ANTHROPIC_AUTH_TOKEN": "<MyKeySitsHere>",
"ANTHROPIC_BASE_URL": "https://openrouter.ai/api",
"API_TIMEOUT_MS": "600000"
}
}
Error Messages:
API Error: 400 {"success":false,"error":{"name":"ZodError","message":"[\n {\n "code": "invalid_union",\n "errors": [\n [\n {\n "expected": "string",\n "code": "invalid_type",\n "path": [],\n "message": "Invalid input: expected string, received array"\n }\n ],\n [\n {\n "expected": "string",\n "code": "invalid_type",\n "path": [\n 0,\n "signature"\n ],\n "message": "Invalid input: expected string, received undefined"\n }\n ]\n ],\n "path": [\n "messages",\n 59,\n "content"\n ],\n "message": "Invalid input"\n },\n {\n "code": "invalid_union",\n "errors": [\n [\n {\n "expected": "string",\n "code": "invalid_type",\n "path": [],\n "message": "Invalid input: expected string, received array"\n }\n ],\n [\n {\n "expected":
API/Model: anthropic/claude-opus-4.5