Skip to content

Commit

Permalink
Remove unnecessary self argument in GoogleSearchTool super() call (#828)
Browse files Browse the repository at this point in the history
  • Loading branch information
gael1130 authored Feb 28, 2025
1 parent 259f55d commit 6abcb5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/smolagents/default_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class GoogleSearchTool(Tool):
output_type = "string"

def __init__(self, provider: str = "serpapi"):
super().__init__(self)
super().__init__()
import os

self.provider = provider
Expand Down

0 comments on commit 6abcb5f

Please sign in to comment.