mirror of
https://github.com/Mintplex-Labs/anything-llm
synced 2026-04-25 17:15:37 +02:00
Add SerpApi web search (#4623)
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user