mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
fix: fix typing import
This commit is contained in:
parent
eabe0c5e7f
commit
dd212daa10
5 changed files with 14 additions and 5 deletions
|
|
@ -1,4 +1,6 @@
|
|||
from typing import Any, Dict, List, TypedDict
|
||||
from typing import Any, Dict, List
|
||||
|
||||
from typing_extensions import TypedDict
|
||||
|
||||
from litellm.types.proxy.guardrails.guardrail_hooks.base import GuardrailConfigModel
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
from typing import Any, Dict, List, Literal, Optional, Required, TypedDict
|
||||
from typing import Any, Dict, List, Literal, Optional
|
||||
|
||||
from pydantic import BaseModel, Field
|
||||
from typing_extensions import Required, TypedDict
|
||||
|
||||
from ..base import GuardrailConfigModel
|
||||
from .base import AzureContentSafetyConfigModel
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
from typing import Any, Dict, List, Literal, Optional, TypedDict, Union
|
||||
from typing import Any, Dict, List, Literal, Optional, Union
|
||||
|
||||
from typing_extensions import TypedDict
|
||||
|
||||
|
||||
class BedrockTextContent(TypedDict, total=False):
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
from typing import Dict, List, Optional, TypedDict
|
||||
from typing import Dict, List, Optional
|
||||
|
||||
from typing_extensions import TypedDict
|
||||
|
||||
from litellm.types.llms.openai import AllMessageValues
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
from typing import Any, Dict, List, Optional, TypedDict, Union
|
||||
from typing import Any, Dict, List, Optional, Union
|
||||
|
||||
from typing_extensions import TypedDict
|
||||
|
||||
from litellm.types.guardrails import PiiEntityType
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue