mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
Merge pull request #2706 from BerriAI/litellm_key_llm_guardrails
feat(llm_guard.py): enable key-specific llm guard check
This commit is contained in:
commit
c1f8d346b8
11 changed files with 141 additions and 34 deletions
|
@ -3168,7 +3168,9 @@ async def chat_completion(
|
|||
|
||||
tasks = []
|
||||
tasks.append(
|
||||
proxy_logging_obj.during_call_hook(data=data, call_type="completion")
|
||||
proxy_logging_obj.during_call_hook(
|
||||
data=data, user_api_key_dict=user_api_key_dict, call_type="completion"
|
||||
)
|
||||
)
|
||||
|
||||
start_time = time.time()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue