mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-11-19 04:30:10 +01:00
Fix the problem of web-searching can not complete searching sessions when using bing search. (#2611)
Fix the problem of web-searching can not complete searching sessions.
This commit is contained in:
parent
f5a319de45
commit
e41a9beaae
@ -306,7 +306,7 @@ const webBrowsing = {
|
|||||||
if (searchResponse.length === 0)
|
if (searchResponse.length === 0)
|
||||||
return `No information was found online for the search query.`;
|
return `No information was found online for the search query.`;
|
||||||
this.super.introspect(
|
this.super.introspect(
|
||||||
`${this.caller}: I found ${data.length} results - looking over them now.`
|
`${this.caller}: I found ${searchResponse.length} results - looking over them now.`
|
||||||
);
|
);
|
||||||
return JSON.stringify(searchResponse);
|
return JSON.stringify(searchResponse);
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user