mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
test(proxy): give the pipeline-managed native hook audit test its chat completions route
This commit is contained in:
parent
8ecd9c16cd
commit
354365eeca
1 changed files with 1 additions and 1 deletions
|
|
@ -688,7 +688,7 @@ async def test_deferred_stream_guardrails_skip_pipeline_managed_native_hook(monk
|
|||
"messages": [{"role": "user", "content": "hi"}],
|
||||
"metadata": {"_guardrail_pipelines": [("response-governance", pipeline)]},
|
||||
},
|
||||
captured_user_api_key_dict=UserAPIKeyAuth(api_key="sk-1234"),
|
||||
captured_user_api_key_dict=UserAPIKeyAuth(api_key="sk-1234", request_route="/v1/chat/completions"),
|
||||
captured_logging_obj=_streaming_logging_obj(),
|
||||
assembled_response=ModelResponse(choices=[Choices(message=Message(role="assistant", content="hello"))]),
|
||||
cache_hit=False,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue