Hey,
Error code: 400 - [{'error': {'code': 400, 'message': "Expected a string 'tool_choice' to be one of 'none' or 'auto'; found 'required'.", 'status': 'INVALID_ARGUMENT'}}]
I've tried both 'google/gemini-1.5-pro-preview-0409' and 'google/gemini-1.5-pro-001' as models. It does work with 'auto' so the rest of the call should be ok.