Skip to content

Commit

Permalink
Merge pull request #4 from DjangoPeng/v0.1
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
DjangoPeng authored Sep 22, 2024
2 parents fd0c143 + 1a19402 commit 7984b1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# 对话 Agent 处理函数
def handle_conversation(user_input, chat_history):
LOG.debug(f"[聊天记录]: {chat_history}")
# bot_message = conversation_agent.chat(user_input, chat_history)
# bot_message = conversation_agent.chat(user_input)
bot_message = conversation_agent.chat_with_history(user_input)
LOG.info(f"[ChatBot]: {bot_message}")
return bot_message
Expand Down

0 comments on commit 7984b1e

Please sign in to comment.