fix: update vertex AI tests to expect role=user on function_response messages

The Gemini API requires role="user" on function_response content blocks
(added in commit 273cf12afa), but these tests were never updated to match.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Julio Quinteros Pro 2026-03-03 19:40:28 -03:00
parent 2d26209d80
commit 5a0aba9fb7

View file

@ -393,6 +393,7 @@ def test_multiple_function_call():
],
},
{
"role": "user",
"parts": [
{
"function_response": {
@ -498,6 +499,7 @@ def test_multiple_function_call_changed_text_pos():
],
},
{
"role": "user",
"parts": [
{
"function_response": {