From d52835e1a08d104303fbefcd60a3e1fd3b3216eb Mon Sep 17 00:00:00 2001 From: Roger M Date: Mon, 26 Jan 2026 15:12:48 +0000 Subject: [PATCH] tools: add Serper Google Search API as web_search provider option --- src/agents/tools/web-search.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/agents/tools/web-search.ts b/src/agents/tools/web-search.ts index 9fec2c716..5d4ccd442 100644 --- a/src/agents/tools/web-search.ts +++ b/src/agents/tools/web-search.ts @@ -340,7 +340,9 @@ async function runSerperSearch(params: { country?: string; search_lang?: string; timeoutSeconds: number; -}): Promise<{ results: Array<{ title: string; url: string; description: string; siteName?: string }> }> { +}): Promise<{ + results: Array<{ title: string; url: string; description: string; siteName?: string }>; +}> { const body: Record = { q: params.query, num: params.count,