From 0d6ded25ffd6c129e6fa3b5b6846156829cb7b86 Mon Sep 17 00:00:00 2001 From: F4ria Date: Wed, 27 Mar 2024 17:32:25 +0800 Subject: [PATCH] chore: correct the model name in claude_handler --- handlers/claude.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/claude.py b/handlers/claude.py index 2f7cf2b..315caa6 100644 --- a/handlers/claude.py +++ b/handlers/claude.py @@ -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."