Mintplex-Labs / anything-llm

The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, and more.
https://anythingllm.com
MIT License
27.47k stars 2.77k forks source link

[BUG]: Web-search using bing search can not be complete. #2610

Closed fiyen closed 1 week ago

fiyen commented 1 week ago

How are you running AnythingLLM?

Local development

What happened?

When I was using bing to complete web searching, the response is always "have troubles when getting the answer", I check the codes, the code data.length in line 309 of web-browsing.js in server folder should be replaced by searchResponse.length because data is a local variable that can not reach to this line.

Are there known steps to reproduce?

just ask question to @agent with enabling bing search web-searching.