mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
fix(rust): restore callback handle typing
This commit is contained in:
parent
01fbd47f37
commit
f424891d76
1 changed files with 3 additions and 2 deletions
|
|
@ -5,6 +5,8 @@ from dataclasses import dataclass, replace
|
|||
from types import MappingProxyType
|
||||
from typing import Generic, Protocol, TypeVar
|
||||
|
||||
from .callbacks import OneShotCallbackHandle
|
||||
|
||||
|
||||
@dataclass(frozen=True, slots=True)
|
||||
class NativeBedrockOptions:
|
||||
|
|
@ -72,8 +74,7 @@ def vertex_options(params: Mapping[str, object]) -> NativeVertexOptions:
|
|||
location=location if isinstance(location, str) else None,
|
||||
)
|
||||
|
||||
|
||||
from typing_extensions import ReadOnly, TypedDict
|
||||
from typing_extensions import ReadOnly, TypedDict, TypeVar
|
||||
|
||||
|
||||
class NativePreCallDetails(TypedDict):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue