tools: add Serper Google Search API as web_search provider option

This commit is contained in:
Roger M 2026-01-26 15:12:48 +00:00 committed by rogerserper
parent 9f10a3b488
commit d52835e1a0

View File

@ -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<string, unknown> = {
q: params.query,
num: params.count,