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:
WinSun 2024-11-09 12:37:15 +08:00 committed by GitHub
parent f5a319de45
commit e41a9beaae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
}, },