From ce3c58e754096947eae6e4d83058660ff7a8fdf8 Mon Sep 17 00:00:00 2001 From: yym68686 Date: Mon, 18 Sep 2023 22:03:38 +0800 Subject: [PATCH] fixed bug: ImportError: cannot import name 'duckduckgo_search' from 'agent' --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 522c4419..901f4fd6 100644 --- a/bot.py +++ b/bot.py @@ -8,7 +8,7 @@ from telegram import BotCommand, InlineKeyboardButton, InlineKeyboardMarkup from chatgpt2api.V3 import Chatbot as GPT from telegram.constants import ChatAction -from agent import duckduckgo_search, docQA, get_doc_from_sitemap, get_doc_from_local, search_summary +from agent import docQA, get_doc_from_local, search_summary from telegram.ext import CommandHandler, MessageHandler, ApplicationBuilder, filters, CallbackQueryHandler