Update status message
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user