Skip to content

Commit

Permalink
chore: correct the model name in claude_handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Fariacool committed Mar 27, 2024
1 parent 6a13eb1 commit 0d6ded2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/claude.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def claude_handler(message: Message, bot: TeleBot) -> None:
# tricky
player_message.pop()
r = client.messages.create(
max_tokens=1024, messages=player_message, model=ANTHROPIC_PRO_MODEL
max_tokens=1024, messages=player_message, model=ANTHROPIC_MODEL
)
if not r.content:
claude_reply_text = "Claude did not answer."
Expand Down

0 comments on commit 0d6ded2

Please sign in to comment.