Skip to content

Commit

Permalink
fix: #145
Browse files Browse the repository at this point in the history
  • Loading branch information
FuseFairy committed Apr 12, 2024
1 parent 31bd142 commit 78e97c8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/bing_chat/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import re
import os
from io import BytesIO
from re_edge_gpt import ConversationStyle
from re_edge_gpt import ConversationStyle, Chatbot
from ..log import setup_logger
from contextlib import aclosing
from .jail_break import sydney, config
Expand Down Expand Up @@ -74,7 +74,8 @@ async def send_message(user_chatbot, user_message: str, image: str, interaction:
conversation_style=ConversationStyle.precise
else:
conversation_style=ConversationStyle.balanced


chatbot: Chatbot
reply = await chatbot.ask(
prompt=user_message,
conversation_style=conversation_style,
Expand Down

0 comments on commit 78e97c8

Please sign in to comment.