diff --git a/backend/open_webui/models/functions.py b/backend/open_webui/models/functions.py index fe742aad1..617a5c7c3 100644 --- a/backend/open_webui/models/functions.py +++ b/backend/open_webui/models/functions.py @@ -86,6 +86,8 @@ class FunctionResponse(BaseModel): updated_at: int # timestamp in epoch created_at: int # timestamp in epoch + model_config = ConfigDict(from_attributes=True) + class FunctionUserResponse(FunctionResponse): user: Optional[UserResponse] = None