langchain-ai/langchain-google
400 Bad Request when using Claude Sonnet on GCP
Aperta
#1256 aperta il 10 ott 2025
anthropic-vertexhelp wantedvertexai
Metriche repository
- Star
- (392 stelle)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
Using Claude Sonnet 4 on GCP
And using ChatAnthropicVertex from package langchain_google_vertexai
Immediately after the first subagent responds, the graph fails with following the error
Anyone know how to fix it?
anthropic.BadRequestError: Error code: 400 - {'type': 'error', 'error': {'type': 'invalid_request_error', 'message': 'messages.6.content.0.tool_result.content.0.text.index: Extra inputs are not permitted'}, 'request_id': 'req_vrtx_011CTzH5cU85qEobDpNtgbp7'}