Commit Graph

10 Commits

Author SHA1 Message Date
melod1n a736f786c2 feat(openai): add chat streaming and model commands
- add /openai (/chatgpt) chat command using OpenAI Responses API (streaming + incremental edits)
- add /openAIListModels, /openAIGetModel, /openAISetModel
- introduce base Command class and migrate non-chat commands to it
- wire OpenAI client + env vars (OPENAI_API_KEY, OPENAI_MODEL)
- bump deps (@google/genai, systeminformation, @types/node) and add openai
2026-02-03 13:39:01 +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
melod1n 4945db86c0 bump dependencies 2026-01-29 20:05:46 +03:00
melod1n cbb1fc3d63 bump libs and update Dockerfile 2026-01-28 17:04:46 +03:00
melod1n 326cfcafc8 /mistral command for chat with Mistral AI 2026-01-16 15:40:15 +03:00
melod1n abccbf3ebf updates for bun and docker
update libs
2026-01-12 16:09:22 +03:00
melod1n 9d9f930ff7 update dependencies 2026-01-12 15:59:55 +03:00
melod1n d52fbbd090 update libs 2026-01-12 15:43:37 +03:00
melod1n 63233e3c60 update project name 2026-01-12 15:35:19 +03:00
melod1n df9471a7e4 refactor!: rewrite bot core; add AI (Ollama, Gemini), DB, new commands 2026-01-12 15:32:50 +03:00