159 Commits

Author SHA1 Message Date
melod1n 89b89c6dcf update Gitea workflow 2026-05-23 08:59:22 +03:00
melod1n 13af873ec2 add Gitea workflow 2026-05-22 21:12:50 +03:00
melod1n d95c37a322 improvements 2026-04-29 19:54:55 +03:00
melod1n a7fcb8074c improvements, fixes 2026-04-29 19:48:38 +03:00
melod1n c003d443e3 temp disable prefix requirement for AI reply 2026-04-29 19:24:31 +03:00
melod1n 874f312465 temp disable prefix requirement for AI reply 2026-04-29 19:19:50 +03:00
melod1n d41a4ed3ea improve replies, formatting and system prompt handling 2026-04-29 19:13:28 +03:00
melod1n 27ca75ed7c update export db command 2026-04-29 06:49:56 +03:00
melod1n cbf5392ffa fix bump libs 2026-04-29 06:46:43 +03:00
melod1n 8822e8f46a export db command 2026-04-29 06:45:00 +03:00
melod1n 8a3c6d40a9 bump libs 2026-04-29 06:44:44 +03:00
melod1n 860182d409 add policies for future 2026-03-18 13:44:19 +03:00
melod1n e21c786e71 add todo 2026-03-18 13:44:03 +03:00
melod1n 126bebb40b add "imgen" option to OpenAiGenImage command 2026-03-18 13:43:56 +03:00
melod1n d77b33514c bump libs 2026-03-18 13:43:35 +03:00
melod1n 3700f61393 add /admins command 2026-03-18 13:43:28 +03:00
melod1n bfb6fe33db error handling 2026-03-03 00:34:07 +03:00
melod1n 18b7a2082b updates 2026-03-03 00:29:03 +03:00
melod1n 6a8dbed691 update text 2026-03-03 00:22:20 +03:00
melod1n 07a6dde0b8 fix typo 2026-03-03 00:05:43 +03:00
melod1n 1f96e3553e * environment variable to enable/disable processing links in messages (for downloading videos)
* bot will not automatically download video from youtube or load it from cache. It will fetch video info first, then suggest to download or get video from cache (with retry options)
* some rewriting in sending/editing/replying to messages
2026-03-03 00:01:44 +03:00
melod1n 3f34a48d41 bump libs 2026-03-02 23:58:57 +03:00
melod1n 6dce990c4c update ytdl 2026-02-25 17:02:46 +03:00
melod1n 0c5d17663c update Dockerfiles to include downloading ffmpeg 2026-02-25 16:53:26 +03:00
melod1n 8bbf97e4c0 bump libs
rewrite ytdl command - now streaming both audio and video, separated, then merging using ffmpeg
2026-02-25 16:22:01 +03:00
melod1n 51db4ba9b5 fix using wrong dirs 2026-02-16 20:05:21 +03:00
melod1n c98528a54f fix 2026-02-16 20:00:25 +03:00
melod1n 2f0f10eed9 fix mkdir dirs 2026-02-16 19:57:35 +03:00
melod1n 8bec34413f some code cleanup 2026-02-16 19:52:28 +03:00
melod1n b8b3895310 update openAiGenImage params 2026-02-16 19:52:08 +03:00
melod1n 5b84376dc7 improve cache storage and cleanup (+ recursively) 2026-02-16 19:51:43 +03:00
melod1n 69ae37e05e /ae command now available if specifically set to 2026-02-16 19:50:07 +03:00
melod1n edcc0ddc91 Revert "move to debian-based runtime"
This reverts commit 751a0a1e15.
2026-02-16 16:40:28 +03:00
melod1n 751a0a1e15 move to debian-based runtime 2026-02-16 16:29:38 +03:00
melod1n c491996a5d (feat): graceful shutdown 2026-02-12 18:33:56 +03:00
melod1n 6ea9905c25 (feat): clearing up both photo and video after 1 day and on process' start 2026-02-12 18:22:37 +03:00
melod1n 4ce3229b5c (chore): change Info command base command from ChatCommand to Command 2026-02-12 18:22:01 +03:00
melod1n 2c7824ebc8 (feat): add image generation from openai 2026-02-12 18:21:29 +03:00
melod1n 8dbd9a456a (chore): add zod and bump deps 2026-02-12 14:56:58 +03:00
melod1n 82468cf61b chat with gemini now will use any first images 2026-02-12 14:48:13 +03:00
melod1n 2026c673f5 checking models capabilities 2026-02-12 14:22:43 +03:00
melod1n 77d0ca2f38 add info command 2026-02-12 13:14:10 +03:00
melod1n b9fa2538db add support for youtube music videos 2026-02-12 11:55:14 +03:00
melod1n 21ab362776 fix 2026-02-06 21:22:20 +03:00
melod1n ae431f6258 use apple emoji by default in quote command 2026-02-06 12:33:36 +03:00
melod1n fbbbebaf2e fix emoji naming 2026-02-06 12:20:00 +03:00
melod1n b1dfe93e22 fix regex 2026-02-06 12:05:20 +03:00
melod1n ae428d8415 fix usage of wrong entities if a quote is present 2026-02-06 12:05:11 +03:00
melod1n 9ba3d81a21 feat(ai): add configurable default provider + refactor telegram handlers
- add AiProvider enum and DEFAULT_AI_PROVIDER env var (fallback: OLLAMA)
- route chat execution based on selected provider (Ollama/Gemini/Mistral/OpenAI)
- move inline query / callback / edited message / my_chat_member handlers into utils
- minor cleanup (command requirements placement, whitespace)
2026-02-04 12:55:04 +03:00
melod1n 3c7d56b213 support for custom baseURL for OpenAI
fix messages' type in context chain
2026-02-04 12:16:31 +03:00