[PR #5555] [CLOSED] fix: preserve configured agent search provider #5481

Closed
opened 2026-06-05 15:21:29 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/5555
Author: @haimingZZ
Created: 4/29/2026
Status: Closed

Base: masterHead: fix/agent-search-provider-initial-haimingzz


📝 Commits (1)

  • 13b06a7 fix: preserve configured agent search provider

📊 Changes

2 files changed (+2 additions, -1163 deletions)

View changed files

📝 frontend/src/pages/Admin/Agents/WebSearchSelection/index.jsx (+1 -295)
📝 frontend/src/pages/Admin/Agents/index.jsx (+1 -868)

📄 Description

Summary

  • include agent_search_provider in the Agent settings preference payload so the web-search panel receives the saved provider with the rest of the page settings
  • initialize the selected web-search provider from saved settings instead of briefly defaulting to DuckDuckGo
  • keep the async preference lookup as a fallback only, and avoid letting it overwrite a provider the user has already selected in the current form

Validation

  • git diff --check
  • yarn --cwd frontend lint:check --quiet (not run: this worktree has no frontend/node_modules, so eslint is not installed)

🔄 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/5555 **Author:** [@haimingZZ](https://github.com/haimingZZ) **Created:** 4/29/2026 **Status:** ❌ Closed **Base:** `master` ← **Head:** `fix/agent-search-provider-initial-haimingzz` --- ### 📝 Commits (1) - [`13b06a7`](https://github.com/Mintplex-Labs/anything-llm/commit/13b06a710b7ab295be272342bc0b5b2aec889a92) fix: preserve configured agent search provider ### 📊 Changes **2 files changed** (+2 additions, -1163 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/pages/Admin/Agents/WebSearchSelection/index.jsx` (+1 -295) 📝 `frontend/src/pages/Admin/Agents/index.jsx` (+1 -868) </details> ### 📄 Description ## Summary - include `agent_search_provider` in the Agent settings preference payload so the web-search panel receives the saved provider with the rest of the page settings - initialize the selected web-search provider from saved settings instead of briefly defaulting to DuckDuckGo - keep the async preference lookup as a fallback only, and avoid letting it overwrite a provider the user has already selected in the current form ## Validation - `git diff --check` - `yarn --cwd frontend lint:check --quiet` *(not run: this worktree has no `frontend/node_modules`, so `eslint` is not installed)* --- <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-06-05 15:21:29 -04:00
yindo closed this issue 2026-06-05 15:21:29 -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#5481