Skip to content

Commit

Permalink
Update token limit to 1024 in Chat.py
Browse files Browse the repository at this point in the history
  • Loading branch information
LobaDK committed Mar 21, 2024
1 parent 63a61e6 commit 74f4d76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/Chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ async def initiateChat(
if self.FOUND_API_KEY is True:
if user_message:
tokens = await self.calculate_tokens(user_message)
if not tokens > 256:
if not tokens > 1024:
command = ctx.invoked_with
user_message = ctx.message.content.split(
f"{self.bot.command_prefix}{command}", 1
Expand Down

0 comments on commit 74f4d76

Please sign in to comment.