Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
crazywoola committed Jan 29, 2025
1 parent 56f4b1b commit 9601924
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions api/core/tools/provider/builtin/searchapi/tools/google_news.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,14 @@ def _invoke(

api_key = self.runtime.credentials["searchapi_api_key"]
result = SearchAPI(api_key).run(
query, result_type=result_type, num=num, google_domain=google_domain, gl=gl, hl=hl, location=location,
time_period=time_period
query,
result_type=result_type,
num=num,
google_domain=google_domain,
gl=gl,
hl=hl,
location=location,
time_period=time_period,
)

if result_type == "text":
Expand Down

0 comments on commit 9601924

Please sign in to comment.