feat: add Claude and OpenRouter AI providers

OpenRouter is used when no provider flag is set. Claude is selected with .cl, and GLM stays available via .glm.
This commit is contained in:
Azimkin
2026-10-13 08:56:16 +00:00
parent c6b93c9aa8
commit a84467c385
10 changed files with 712 additions and 20 deletions

View File

@@ -420,7 +420,7 @@ async def echo(ctx: "CommandContext") -> None:
@command_registry.command(
"ai",
"Run an agent with optional Telegram history and media",
usage=".ai / ..ai [messages] [.ds] [.th] <prompt>",
usage=".ai / ..ai [messages] [.glm|.ds|.cl|.or] [.th] <prompt>",
category="shared",
).shared()
async def ai(ctx: "CommandContext") -> None: