Skip to content

Commit 5282941

Browse files
committed
removed unneeded changes
1 parent ffdea9f commit 5282941

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ldai/client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class LDMessage:
1313
role: Literal['system', 'user', 'assistant']
1414
content: str
1515

16-
def to_dict(self) -> Dict[str, Any]:
16+
def to_dict(self) -> dict:
1717
"""
1818
Render the given message as a dictionary object.
1919
"""
@@ -69,7 +69,7 @@ def get_custom(self, key: str) -> Any:
6969

7070
return self._custom.get(key)
7171

72-
def to_dict(self) -> Dict[str, Any]:
72+
def to_dict(self) -> dict:
7373
"""
7474
Render the given model config as a dictionary object.
7575
"""
@@ -95,7 +95,7 @@ def name(self) -> str:
9595
"""
9696
return self._name
9797

98-
def to_dict(self) -> Dict[str, Any]:
98+
def to_dict(self) -> dict:
9999
"""
100100
Render the given provider config as a dictionary object.
101101
"""
@@ -111,7 +111,7 @@ class AIConfig:
111111
messages: Optional[List[LDMessage]] = None
112112
provider: Optional[ProviderConfig] = None
113113

114-
def to_dict(self) -> Dict[str, Any]:
114+
def to_dict(self) -> dict:
115115
"""
116116
Render the given default values as an AIConfig-compatible dictionary object.
117117
"""

0 commit comments

Comments
 (0)