mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
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:
parent
2d26209d80
commit
5a0aba9fb7
1 changed files with 2 additions and 0 deletions
|
|
@ -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": {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue