Skip to content

Commit

Permalink
fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
talkingwallace committed Mar 29, 2023
1 parent da88b98 commit 265a3c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpt_reader/bot/openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,6 @@ def question(self, paper: Paper, question_str):

self.question_msg.append({'role': 'user', 'content': """Now I send you the quenstion: {} \n
""".format(question_str)})
ret = self.bot_core.communicate(self.q)
ret = self.bot_core.communicate(self.question_msg)
self.question_msg.append({'role': 'system', 'content': ret})
return ret

0 comments on commit 265a3c6

Please sign in to comment.