mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-04 02:31:27 +00:00
(sap) fix after bot review
This commit is contained in:
parent
8eb81b5202
commit
470aee52ec
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ class ChatCompletionTool(BaseModel):
|
|||
type_: Literal["function"] = Field(default="function", alias="type")
|
||||
function: FunctionTool
|
||||
|
||||
def model_dump(self, **kwargs) -> Self:
|
||||
def model_dump(self, **kwargs) -> dict:
|
||||
kwargs["exclude_unset"] = False
|
||||
return super().model_dump(**kwargs)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue