Commit Graph

6 Commits

Author SHA1 Message Date
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 6dce990c4c update ytdl 2026-02-25 17:02:46 +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 b9fa2538db add support for youtube music videos 2026-02-12 11:55:14 +03:00
melod1n 810151263d feat: separate Ollama text/image/think models + add YouTube downloader
Support OLLAMA_IMAGE_MODEL and new OLLAMA_THINK_MODEL (both default to OLLAMA_MODEL)

Add /ollamathink command; validate thinking capability; disable image-analysis flow in think mode

Make /ollama-get-model show Text/Image/Think blocks only when models differ

Add /ytdl (/youtube) command + auto-detect YouTube URLs in messages

Cache downloaded videos to data/video and schedule daily cleanup

Move photo storage from data/temp to data/photo; improve env boolean parsing via ifTrue

Update deps (youtubei.js, puppeteer*) and TS config (allowJs, allowSyntheticDefaultImports)
2026-01-31 19:37:25 +03:00