Commit Graph

20 Commits

Author SHA1 Message Date
melod1n b74e0a0f3e refactor(bot): centralize runtime state; support albums + safer vision handling
- make MessageStore.put() return StoredMessage and allow collectReplyChainText() to work with StoredMessage
- move muted users + answers loading into Environment (add Answers model + GEMINI_IMAGE_MODEL)
- extract message handling into processNewMessage() and add media-group (album) caching/downloading by unique_file_id
- for Ollama: check model capabilities before sending images; use replyToMessage helper consistently
- add /geminiGenImage command stub for Gemini image generation
2026-01-29 20:01:30 +03:00
melod1n 73905780b9 some updates 2026-01-28 19:47:50 +03:00
melod1n 63c64dfa8e update error logging
cutting all kind of prefixes for prompt making
2026-01-28 16:40:29 +03:00
melod1n f87fae8ef1 rename systemspecs to systeminfo 2026-01-27 19:40:05 +03:00
melod1n a428134218 add debug command 2026-01-22 17:04:38 +03:00
melod1n 1493ffbe01 rename mute/unmute to ignore/unignore and add CHAT_ADMIN requirement for them and ban/unban commands 2026-01-22 14:36:14 +03:00
melod1n 32baaebb93 update regex matching - now bot responds only for base commands (like /ping) and with mention (like /ping@panfilovi4_bot) and ignores command if it mentions other bot;
Add ability to see, change and list gemini, mistral and ollama models
2026-01-20 08:31:05 +03:00
melod1n c31345a3eb add update bot's commands on every start and added only for creator mode 2026-01-18 17:39:30 +03:00
melod1n 20749860ad add transliteration command (en <-> ru) 2026-01-18 16:29:16 +03:00
melod1n 326cfcafc8 /mistral command for chat with Mistral AI 2026-01-16 15:40:15 +03:00
melod1n 8743258474 ability to cancel ollama generation 2026-01-15 20:03:47 +03:00
melod1n f8e8f122f4 little fix 2026-01-12 19:47:08 +03:00
melod1n 3264b7c6d9 check if photo already downloaded 2026-01-12 19:45:19 +03:00
melod1n 6eff5d17ea test support for images (ollama vision models) 2026-01-12 19:19:08 +03:00
melod1n 09b283d02f update index.ts 2026-01-12 16:50:59 +03:00
melod1n 8fe6857345 updates 2026-01-12 16:44:21 +03:00
melod1n c6faa19cb0 updates 2026-01-12 16:30:16 +03:00
melod1n 78692a89a0 update index.ts 2026-01-12 16:27:32 +03:00
melod1n eb150d25da update index.ts 2026-01-12 16:26:03 +03:00
melod1n df9471a7e4 refactor!: rewrite bot core; add AI (Ollama, Gemini), DB, new commands 2026-01-12 15:32:50 +03:00