[GH-ISSUE #3356] [BUG]: local search searngx not used by the agent #2164

Closed
opened 2026-02-22 18:28:25 -05:00 by yindo · 3 comments
Owner

Originally created by @manos-msdn on GitHub (Feb 26, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3356

How are you running AnythingLLM?

Installed on windows

What happened?

Maybe I am doing something wrong, but I am not sure what, where can we see any logs?

Here is the situation:

Configured agent for local search with this url http://localhost:8080/search?format=json

Image

we know url works:

Image

it connects to search in the chat but not using results

Image

Are there known steps to reproduce?

No response

Originally created by @manos-msdn on GitHub (Feb 26, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3356 ### How are you running AnythingLLM? Installed on windows ### What happened? Maybe I am doing something wrong, but I am not sure what, where can we see any logs? Here is the situation: Configured agent for local search with this url http://localhost:8080/search?format=json ![Image](https://github.com/user-attachments/assets/b0fdfb59-ff8d-4400-9398-fe42c2d3ea6f) we know url works: ![Image](https://github.com/user-attachments/assets/57b82dc2-9026-42a0-8bef-9ec5e21cf6ac) it connects to search in the chat but not using results ![Image](https://github.com/user-attachments/assets/75430f13-4c55-4680-9f2d-4a7b2fdac357) ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:28:25 -05:00
yindo closed this issue 2026-02-22 18:28:25 -05:00
Author
Owner

@timothycarambat commented on GitHub (Feb 26, 2025):

It is just http://localhost:8080 - not the whole URL.
https://github.com/Mintplex-Labs/anything-llm/blob/2ea94b50645f26a7bef684eeb6d00daa11c611c9/server/utils/agents/aibitat/plugins/web-browsing.js#L459-L461

Doing this creates http://localhost:8080/search?format=json&q={query}&format=json

@timothycarambat commented on GitHub (Feb 26, 2025): It is just `http://localhost:8080` - not the whole URL. https://github.com/Mintplex-Labs/anything-llm/blob/2ea94b50645f26a7bef684eeb6d00daa11c611c9/server/utils/agents/aibitat/plugins/web-browsing.js#L459-L461 Doing this creates `http://localhost:8080/search?format=json&q={query}&format=json`
Author
Owner

@manos-msdn commented on GitHub (Feb 26, 2025):

It is just http://localhost:8080 - not the whole URL.

Thanks you are right it says base URL.

However even when I changed it as you suggested, it still does not use the recent results.

Are there any logs we can investigate?

@manos-msdn commented on GitHub (Feb 26, 2025): > It is just `http://localhost:8080` - not the whole URL. > Thanks you are right it says base URL. However even when I changed it as you suggested, it still does not use the recent results. Are there any logs we can investigate?
Author
Owner

@timothycarambat commented on GitHub (Feb 26, 2025):

Indeed there are, you will want to pull the backend logs from the desktop log folder
https://docs.anythingllm.com/installation-desktop/debug#general-debugging

Then you should see this error log in the backend
https://github.com/Mintplex-Labs/anything-llm/blob/fa454aa6caf398c58ed324d96a333063d679a40f/server/utils/agents/aibitat/plugins/web-browsing.js#L493-L495

If no data is found - i suspect there is something amiss there since when we find results - we say so in the UI
https://github.com/Mintplex-Labs/anything-llm/blob/fa454aa6caf398c58ed324d96a333063d679a40f/server/utils/agents/aibitat/plugins/web-browsing.js#L516-L518

The only options here are an error, or an empty result array - which shouldnt be the case for such a query since http://localhost:8080?format=json&q=Who is the president of the US should work in your browser.

@timothycarambat commented on GitHub (Feb 26, 2025): Indeed there are, you will want to pull the `backend` logs from the desktop log folder https://docs.anythingllm.com/installation-desktop/debug#general-debugging Then you should see this error log in the backend https://github.com/Mintplex-Labs/anything-llm/blob/fa454aa6caf398c58ed324d96a333063d679a40f/server/utils/agents/aibitat/plugins/web-browsing.js#L493-L495 If no data is found - i suspect there is something amiss there since when we find results - we say so in the UI https://github.com/Mintplex-Labs/anything-llm/blob/fa454aa6caf398c58ed324d96a333063d679a40f/server/utils/agents/aibitat/plugins/web-browsing.js#L516-L518 The only options here are an error, or an empty result array - which shouldnt be the case for such a query since `http://localhost:8080?format=json&q=Who is the president of the US` should work in your browser.
yindo changed title from [BUG]: local search searngx not used by the agent to [GH-ISSUE #3356] [BUG]: local search searngx not used by the agent 2026-06-05 14:44:55 -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#2164