Update status message

This commit is contained in:
2024-08-18 07:58:19 -05:00
parent b31232f42e
commit 5134312cab
+4 -2
View File
@@ -202,9 +202,11 @@ def switch_anthropic(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None
update.message.reply_text("Using Anthropic" if use_anthropic else "Using OpenAI") update.message.reply_text("Using Anthropic" if use_anthropic else "Using OpenAI")
async def status(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None: async def status(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
if use_anthropic:
await update.message.reply_text("Currently using claude-3-5-sonnet-20240620")
else:
model = GPT_4O if use_smart_model else GPT_4O_MINI model = GPT_4O if use_smart_model else GPT_4O_MINI
await update.message.reply_text(f"Currently using model model: {model}") await update.message.reply_text(f"Currently using: {model}")
pass
def main() -> None: def main() -> None:
# Create the Application and pass it your bot's token # Create the Application and pass it your bot's token