mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-11 03:38:38 +00:00
Fix dict[str, Any] -> Dict[str, Any] for Python 3.8 compat
This commit is contained in:
parent
8afe3ec8f2
commit
196039247b
1 changed files with 2 additions and 1 deletions
|
|
@ -10,6 +10,7 @@ import os
|
|||
from typing import (
|
||||
TYPE_CHECKING,
|
||||
Any,
|
||||
Dict,
|
||||
List,
|
||||
Literal,
|
||||
Optional,
|
||||
|
|
@ -120,7 +121,7 @@ class PromptGuardGuardrail(CustomGuardrail):
|
|||
|
||||
direction = "input" if input_type == "request" else "output"
|
||||
|
||||
payload: dict[str, Any] = {
|
||||
payload: Dict[str, Any] = {
|
||||
"messages": messages,
|
||||
"direction": direction,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue