mirror of
https://github.com/zvx-echo6/meshai.git
synced 2026-05-22 15:44:39 +02:00
Features: - Multi-backend LLM support (OpenAI, Anthropic, Google) - Rolling summary memory for token optimization (~70-80% reduction) - Per-user conversation history with SQLite persistence - Bang commands (!help, !ping, !reset, !status, !weather) - Meshtastic integration via serial or TCP - Message chunking for mesh network constraints (150 char limit) - Rate limiting to prevent network congestion - Rich TUI configurator - Docker support 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
15 lines
356 B
Python
15 lines
356 B
Python
"""Ping command handler."""
|
|
|
|
from .base import CommandContext, CommandHandler
|
|
|
|
|
|
class PingCommand(CommandHandler):
|
|
"""Simple connectivity test."""
|
|
|
|
name = "ping"
|
|
description = "Test connectivity"
|
|
usage = "!ping"
|
|
|
|
async def execute(self, args: str, context: CommandContext) -> str:
|
|
"""Respond with pong."""
|
|
return "pong"
|