Skip to content

Commit

Permalink
missing change
Browse files Browse the repository at this point in the history
  • Loading branch information
gilcu3 committed Nov 8, 2023
1 parent 450b86d commit 5ada35f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/openai_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ async def __summarise(self, conversation) -> str:
messages=messages,
temperature=0.4
)
return response.choices[0]['message']['content']
return response.choices[0].message.content

def __max_model_tokens(self):
base = 4096
Expand Down

0 comments on commit 5ada35f

Please sign in to comment.