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 @@ -1594,7 +1594,7 @@ async def apredict_messages(
15941594 def _llm_type (self ) -> str :
15951595 """Return type of chat model."""
15961596
1597- @deprecated ("0.3.61 " , alternative = "asdict" , removal = "1 .0" )
1597+ @deprecated ("1.0 " , alternative = "asdict" , removal = "2 .0" )
15981598 @override
15991599 def dict (self , ** kwargs : Any ) -> builtins .dict [str , Any ]:
16001600 return self .asdict ()
Original file line number Diff line number Diff line change @@ -1436,7 +1436,7 @@ def __str__(self) -> str:
14361436 def _llm_type (self ) -> str :
14371437 """Return type of llm."""
14381438
1439- @deprecated ("0.3.61 " , alternative = "asdict" , removal = "1 .0" )
1439+ @deprecated ("1.0 " , alternative = "asdict" , removal = "2 .0" )
14401440 @override
14411441 def dict (self , ** kwargs : Any ) -> builtins .dict [str , Any ]:
14421442 return self .asdict ()
Original file line number Diff line number Diff line change @@ -330,7 +330,7 @@ def _type(self) -> str:
330330 )
331331 raise NotImplementedError (msg )
332332
333- @deprecated ("0.3.61 " , alternative = "asdict" , removal = "1 .0" )
333+ @deprecated ("1.0 " , alternative = "asdict" , removal = "2 .0" )
334334 @override
335335 def dict (self , ** kwargs : Any ) -> builtins .dict [str , Any ]:
336336 return self .asdict ()
Original file line number Diff line number Diff line change @@ -344,7 +344,7 @@ def _prompt_type(self) -> str:
344344 """Return the prompt type key."""
345345 raise NotImplementedError
346346
347- @deprecated ("0.3.61 " , alternative = "asdict" , removal = "1 .0" )
347+ @deprecated ("1.0 " , alternative = "asdict" , removal = "2 .0" )
348348 @override
349349 def dict (self , ** kwargs : Any ) -> builtins .dict [str , Any ]:
350350 return self .asdict (** kwargs )
You can’t perform that action at this time.
0 commit comments