Add SerpApi web search (#4623)

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
This commit is contained in:
Alex Barron
2025-11-20 23:12:15 +00:00
committed by GitHub
parent 7a0c149d2e
commit 2eb5384e27
9 changed files with 356 additions and 0 deletions

View File

@@ -106,6 +106,7 @@ const SystemSettings = {
if (
![
"google-search-engine",
"serpapi",
"searchapi",
"serper-dot-dev",
"bing-search",
@@ -276,6 +277,8 @@ const SystemSettings = {
// --------------------------------------------------------
AgentGoogleSearchEngineId: process.env.AGENT_GSE_CTX || null,
AgentGoogleSearchEngineKey: !!process.env.AGENT_GSE_KEY || null,
AgentSerpApiKey: !!process.env.AGENT_SERPAPI_API_KEY || null,
AgentSerpApiEngine: process.env.AGENT_SERPAPI_ENGINE || "google",
AgentSearchApiKey: !!process.env.AGENT_SEARCHAPI_API_KEY || null,
AgentSearchApiEngine: process.env.AGENT_SEARCHAPI_ENGINE || "google",
AgentSerperApiKey: !!process.env.AGENT_SERPER_DEV_KEY || null,