mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-14 05:03:43 +08:00
feat: support dall-e image not storage
This commit is contained in:
@@ -64,6 +64,8 @@ export class BaiduSearch extends Tool {
|
||||
async _call(input: string) {
|
||||
const searchResults = await search(input, this.maxResults);
|
||||
|
||||
console.log(searchResults);
|
||||
|
||||
if (searchResults.results.length === 0) {
|
||||
return "No good search result found";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user