Skip to content

Commit

Permalink
Merge pull request #25 from F4ria/correct-model-claude-handler
Browse files Browse the repository at this point in the history
Correct the model in claude handler
  • Loading branch information
yihong0618 authored Mar 27, 2024
2 parents 6a13eb1 + 0d6ded2 commit 943ab40
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 943ab40

Please sign in to comment.