Skip to content

Commit

Permalink
fixed bug: ImportError: cannot import name 'duckduckgo_search' from '…
Browse files Browse the repository at this point in the history
…agent'
  • Loading branch information
yym68686 committed Sep 18, 2023
1 parent 3610fd9 commit ce3c58e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit ce3c58e

Please sign in to comment.