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
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
63c64dfa8e
update error logging
...
cutting all kind of prefixes for prompt making
2026-01-28 16:40:29 +03:00
melod1n
336b0e0b1e
use ollama.generate instead of ollama.chat for ollamaPrompt command
2026-01-22 14:20:07 +03:00
melod1n
d029d53fee
fix match
2026-01-20 08:39:59 +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
df9471a7e4
refactor!: rewrite bot core; add AI (Ollama, Gemini), DB, new commands
2026-01-12 15:32:50 +03:00