Merge pull request #23417 from joereyna/fix/vertex-batch-cost-model-name

fix: update stale model name in vertex AI batch cost calculation test
This commit is contained in:
Joe Reyna 2026-03-11 23:47:11 -07:00 • committed by GitHub
commit 2848d5607f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -243,7 +243,7 @@ class TestVertexAIBatchPassthroughHandler:
]
total_cost, usage = calculate_vertex_ai_batch_cost_and_usage(
vertex_ai_batch_responses, model_name="gemini-1.5-flash-001"
vertex_ai_batch_responses, model_name="gemini-2.0-flash-001"
)
assert usage.total_tokens == 15