From 96019247b947b0bfbb7c49ad0a6e2f54efefd505 Mon Sep 17 00:00:00 2001 From: crazywoola <427733928@qq.com> Date: Wed, 29 Jan 2025 12:00:59 +0800 Subject: [PATCH] fix: lint --- .../provider/builtin/searchapi/tools/google_news.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/api/core/tools/provider/builtin/searchapi/tools/google_news.py b/api/core/tools/provider/builtin/searchapi/tools/google_news.py index d8c5d09d99848a..a1505ef33d26ea 100644 --- a/api/core/tools/provider/builtin/searchapi/tools/google_news.py +++ b/api/core/tools/provider/builtin/searchapi/tools/google_news.py @@ -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":