[PR #2224] [MERGED] Feature/add searchapi web browsing #3926

Closed
opened 2026-02-22 18:34:47 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/2224
Author: @timothycarambat
Created: 9/5/2024
Status: Merged
Merged: 9/5/2024
Merged by: @timothycarambat

Base: masterHead: feature/add-searchapi-web-browsing


📝 Commits (3)

  • 10c37ab Add SearchApi to web browsing
  • 66ccce9 UI modifications for SearchAPI
  • 16070c5 Merge branch 'master' into feature/add-searchapi-web-browsing

📊 Changes

10 files changed (+178 additions, -2 deletions)

View changed files

📝 .vscode/settings.json (+1 -0)
📝 docker/.env.example (+4 -0)
📝 docker/HOW_TO_USE_DOCKER.md (+2 -2)
📝 frontend/src/pages/Admin/Agents/WebSearchSelection/SearchProviderOptions/index.jsx (+77 -0)
frontend/src/pages/Admin/Agents/WebSearchSelection/icons/searchapi.png (+0 -0)
📝 frontend/src/pages/Admin/Agents/WebSearchSelection/index.jsx (+10 -0)
📝 server/.env.example (+4 -0)
📝 server/models/systemSettings.js (+3 -0)
📝 server/utils/agents/aibitat/plugins/web-browsing.js (+69 -0)
📝 server/utils/helpers/updateENV.js (+8 -0)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

closes #2223
AnythingLLM docs

What is in this change?

  • Added SearchApi to web browsing.
  • Added AGENT_SEARCHAPI_API_KEY in example environments variable files.
  • Added AGENT_SEARCHAPI_ENGINE that is responsilbe for choosing different search engines (Google, Bing, Baidu, Google News, etc.)

Additional Information

The end user can change the search engine used on the SearchApi side via the AGENT_SEARCHAPI_ENGINE parameter. Organic results share the same structure across all existing and upcoming SERP engines, so we will always have a title, snippet, and link. Google, Bing, Baidu, Google News, Bing News, Google Videos, Google Scholar, and Google Patents are already supported. Yandex and Yahoo are coming soon as well.

SearchApi is committed to supporting open-source integrations. Please feel free to mention @SebastjanPrachovskij for any future PR reviews related to SearchApi. We would be glad to help.


Screenshots:
CleanShot 2024-09-03 at 14 24 38@2x

CleanShot 2024-09-03 at 14 41 05

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/2224 **Author:** [@timothycarambat](https://github.com/timothycarambat) **Created:** 9/5/2024 **Status:** ✅ Merged **Merged:** 9/5/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `feature/add-searchapi-web-browsing` --- ### 📝 Commits (3) - [`10c37ab`](https://github.com/Mintplex-Labs/anything-llm/commit/10c37ab1f91b62875f471b610413d7c0ac66557b) Add SearchApi to web browsing - [`66ccce9`](https://github.com/Mintplex-Labs/anything-llm/commit/66ccce9fcc6819b44c7f8292dc79a890287ee29a) UI modifications for SearchAPI - [`16070c5`](https://github.com/Mintplex-Labs/anything-llm/commit/16070c522fd699e885ea0d69b1f60b35121ef669) Merge branch 'master' into feature/add-searchapi-web-browsing ### 📊 Changes **10 files changed** (+178 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `.vscode/settings.json` (+1 -0) 📝 `docker/.env.example` (+4 -0) 📝 `docker/HOW_TO_USE_DOCKER.md` (+2 -2) 📝 `frontend/src/pages/Admin/Agents/WebSearchSelection/SearchProviderOptions/index.jsx` (+77 -0) ➕ `frontend/src/pages/Admin/Agents/WebSearchSelection/icons/searchapi.png` (+0 -0) 📝 `frontend/src/pages/Admin/Agents/WebSearchSelection/index.jsx` (+10 -0) 📝 `server/.env.example` (+4 -0) 📝 `server/models/systemSettings.js` (+3 -0) 📝 `server/utils/agents/aibitat/plugins/web-browsing.js` (+69 -0) 📝 `server/utils/helpers/updateENV.js` (+8 -0) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues closes #2223 [AnythingLLM docs](https://github.com/Mintplex-Labs/anythingllm-docs/pull/89) ### What is in this change? - Added SearchApi to web browsing. - Added `AGENT_SEARCHAPI_API_KEY` in example environments variable files. - Added `AGENT_SEARCHAPI_ENGINE` that is responsilbe for choosing different search engines (Google, Bing, Baidu, Google News, etc.) ### Additional Information The end user can change the search engine used on the SearchApi side via the `AGENT_SEARCHAPI_ENGINE` parameter. Organic results share the same structure across all existing and upcoming SERP engines, so we will always have a `title`, `snippet`, and `link`. Google, Bing, Baidu, Google News, Bing News, Google Videos, Google Scholar, and Google Patents are already supported. Yandex and Yahoo are coming soon as well. SearchApi is committed to supporting open-source integrations. Please feel free to mention [@SebastjanPrachovskij](https://github.com/SebastjanPrachovskij) for any future PR reviews related to SearchApi. We would be glad to help. --- Screenshots: ![CleanShot 2024-09-03 at 14 24 38@2x](https://github.com/user-attachments/assets/c53dbe9c-6903-4125-acfb-35360fda9415) ![CleanShot 2024-09-03 at 14 41 05](https://github.com/user-attachments/assets/7cf34c13-10fd-47bb-89d7-46e12cb793fa) ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:34:47 -05:00
yindo closed this issue 2026-02-22 18:34:47 -05:00
yindo changed title from [PR #2224] Feature/add searchapi web browsing to [PR #2224] [MERGED] Feature/add searchapi web browsing 2026-06-05 15:15:56 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#3926