LiteLLM->Bedrock communication issue

models.json:
{
"providers": {
"litellm": {
"baseUrl": "http://0.0.0.0:4000/",
"apiKey": "sk-1234",
"api": "openai-completions",
"models": [
{
"id": "bedrock-claude-4-5-opus",
"name": "bedrock-claude-4-5-opus",
"reasoning": false,
"input": [
"text"
],
"cost": {
"input": 15,
"output": 75,
"cacheRead": 1.5,
"cacheWrite": 18.75
},
"contextWindow": 200000,
"maxTokens": 8192
}
]
}
}
}

When I send a message in clawdbot, I get this error in litellm:

litellm.exceptions.BadRequestError: litellm.BadRequestError: BedrockException - {"message":"The model returned the following errors: store: Extra inputs are not permitted"}. Received Model Group=bedrock-claude-4-5-opus

If I curl --location 'http://0.0.0.0:4000/chat/completions' \
--header 'Authorization: Bearer sk-1234' \
--header 'Content-Type: application/json' \
--data ' {
"model": "bedrock-claude-4-5-opus",
"messages": [
{
"role": "user",
"content": "gm"
}
]
}'

I get a normal response. Any thoughts?
Was this page helpful?