Commit Graph

16 Commits

Author SHA1 Message Date
Azimkin
4421c9cd31 feat: rebuild AI commands and migrate config to TOML 2026-09-14 13:03:14 +02:00
Azimkin
01d3173254 Add temporary AI commands and request transcripts 2026-08-28 23:53:42 +02:00
Azimkin
d3c02ca203 Add process controls and restart command 2026-08-28 23:25:20 +02:00
12434ec557 Add id command 2026-07-01 21:47:01 +02:00
62ea12033f Add GitHub webhook receiver 2026-07-01 21:41:01 +02:00
7147c657ab Add Brave web search support 2026-05-18 22:38:54 +02:00
1ef2893345 Remove MiniMax MCP support 2026-05-18 18:32:51 +02:00
7356a1812e Collapse blockquote and strip <think> blocks from AI responses
- blockquote expandable: replies are collapsed by default in Telegram
- strip <think>...</think> sections (chain-of-thought from reasoning
  models like DeepSeek R1 / QwQ) before sending the response

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-18 14:40:33 +02:00
777aa90f17 Fix parse mode: use enums.ParseMode.HTML instead of string
ParseMode is a plain Enum, not a str subclass — string "html" fails
equality check against the enum member and raises ValueError.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-18 14:36:46 +02:00
0cafff8696 Convert AI responses to Telegram HTML with blockquote wrapping
Markdown (headings, bold, italic, strikethrough, code blocks, links)
is converted to Telegram-compatible HTML tags before sending. Each
reply chunk is wrapped in <blockquote> for visual distinction.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-18 14:29:34 +02:00
fb78d813af Use free Telegram reactions for AI status (🤔/👍/👎)
Replace premium-only ⏳/✅/❌ with reactions available to all users:
🤔 while processing, 👍 on success, 👎 on error.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 16:02:13 +02:00
65088c2fdc Replace AI status message with emoji reactions
Instead of sending/editing a verbose status message, now reacts to the
command message: ⏳ while processing, ✅ on success, ❌ on error.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 15:19:14 +02:00
ba41ad6a70 Fix wrong-prefix silent ignore and Minimax image understand host
- Remove "Use .cmd for this role" reply when owner uses wrong prefix;
  wrong-prefix commands are now silently ignored for all users
- Fix AIImageUnderstandConfig default api_host to api.minimax.chat
  (minimax-coding-plan-mcp routes all calls there, not api.minimax.io)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 12:34:43 +02:00
Codex
86f7827802 Refine AI image context handling 2026-05-14 18:34:40 +02:00
Codex
2a731600e0 Add dual-prefix AI command 2026-05-14 13:24:47 +02:00
Codex
27b2760079 Add multi-account command ACL system 2026-05-13 22:19:27 +02:00