File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1540,7 +1540,7 @@ async def apredict_messages(
15401540 def _llm_type (self ) -> str :
15411541 """Return type of chat model."""
15421542
1543- @deprecated ("0.3.61 " , alternative = "asdict" , removal = "1 .0" )
1543+ @deprecated ("1.0 " , alternative = "asdict" , removal = "2 .0" )
15441544 @override
15451545 def dict (self , ** kwargs : Any ) -> builtins .dict [str , Any ]:
15461546 return self .asdict ()
Original file line number Diff line number Diff line change @@ -1402,7 +1402,7 @@ def __str__(self) -> str:
14021402 def _llm_type (self ) -> str :
14031403 """Return type of llm."""
14041404
1405- @deprecated ("0.3.61 " , alternative = "asdict" , removal = "1 .0" )
1405+ @deprecated ("1.0 " , alternative = "asdict" , removal = "2 .0" )
14061406 @override
14071407 def dict (self , ** kwargs : Any ) -> builtins .dict [str , Any ]:
14081408 return self .asdict ()
Original file line number Diff line number Diff line change @@ -327,7 +327,7 @@ def _type(self) -> str:
327327 )
328328 raise NotImplementedError (msg )
329329
330- @deprecated ("0.3.61 " , alternative = "asdict" , removal = "1 .0" )
330+ @deprecated ("1.0 " , alternative = "asdict" , removal = "2 .0" )
331331 @override
332332 def dict (self , ** kwargs : Any ) -> builtins .dict [str , Any ]:
333333 return self .asdict ()
Original file line number Diff line number Diff line change @@ -346,7 +346,7 @@ def _prompt_type(self) -> str:
346346 """Return the prompt type key."""
347347 raise NotImplementedError
348348
349- @deprecated ("0.3.61 " , alternative = "asdict" , removal = "1 .0" )
349+ @deprecated ("1.0 " , alternative = "asdict" , removal = "2 .0" )
350350 @override
351351 def dict (self , ** kwargs : Any ) -> builtins .dict [str , Any ]:
352352 return self .asdict (** kwargs )
You can’t perform that action at this time.
0 commit comments