mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
(sap) fix after bot review
This commit is contained in:
parent
47ba424cc5
commit
9497093d42
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