mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-16 09:22:22 +00:00
test(proxy): give the Vertex streamRawPredict logging doubles the request's model, as a real pass-through Logging has
This commit is contained in:
parent
744b3be87f
commit
88b13d1b79
1 changed files with 2 additions and 0 deletions
|
|
@ -346,6 +346,7 @@ async def test_vertex_ai_anthropic_streaming_cost_injection_enabled():
|
|||
|
||||
# Setup logging object with model info
|
||||
litellm_logging_obj = MagicMock(spec=LiteLLMLoggingObj)
|
||||
litellm_logging_obj.model = "claude-sonnet-4@20250514"
|
||||
litellm_logging_obj.litellm_params = {}
|
||||
litellm_logging_obj.model_call_details = {"model": "claude-sonnet-4@20250514"}
|
||||
litellm_logging_obj.completion_start_time = None
|
||||
|
|
@ -544,6 +545,7 @@ async def test_vertex_ai_anthropic_streaming_model_extraction():
|
|||
response.aiter_bytes = mock_aiter_bytes
|
||||
|
||||
litellm_logging_obj = MagicMock(spec=LiteLLMLoggingObj)
|
||||
litellm_logging_obj.model = "claude-sonnet-4@20250514"
|
||||
litellm_logging_obj.litellm_params = {}
|
||||
litellm_logging_obj.model_call_details = {}
|
||||
litellm_logging_obj.completion_start_time = None
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue