diff --git a/src/moai/bot/handlers/commands.py b/src/moai/bot/handlers/commands.py index ebf1ffb..84ab522 100644 --- a/src/moai/bot/handlers/commands.py +++ b/src/moai/bot/handlers/commands.py @@ -16,6 +16,9 @@ Multi-AI collaborative brainstorming platform. /project models claude,gpt - Set models /project info - Show current project +*Questions:* +/ask - Ask a single model + *Discussion Commands:* /open - Ask all models (parallel) /discuss [rounds] - Start discussion (default: 3) diff --git a/src/moai/bot/handlers/status.py b/src/moai/bot/handlers/status.py index 7e4aa72..22ac0fc 100644 --- a/src/moai/bot/handlers/status.py +++ b/src/moai/bot/handlers/status.py @@ -3,6 +3,8 @@ from telegram import Update from telegram.ext import ContextTypes +from moai.core.ai_client import get_ai_client + async def status_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None: """Handle /status command - show current project/discussion state. @@ -10,11 +12,19 @@ async def status_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> For now, shows a placeholder since project management isn't implemented yet. Will be expanded in Phase 3 to show actual project state. """ + # Check AI client status + try: + client = get_ai_client() + ai_status = f"AI Router: {client.router}" + except RuntimeError: + ai_status = "AI Router: not configured" + # TODO: Phase 3 - Query actual project/discussion state from database status_text = ( "*MoAI Status*\n\n" "Bot: Online\n" - "Database: Connected\n\n" + "Database: Connected\n" + f"{ai_status}\n\n" '_No project selected. Use /project new "Name" to create one._' ) await update.message.reply_text(status_text, parse_mode="Markdown")