melod1n
1b94760b21
ai: add RAG, speech-to-text and text-to-speech
2026-05-10 22:53:07 +03:00
melod1n
355ae8e5da
ai: add common tool runtime and built-in tools
2026-05-10 22:52:48 +03:00
melod1n
32c35f54aa
ai: add unified runtime and provider adapters
2026-05-10 22:52:35 +03:00
melod1n
4c2a5471df
utils: add shared locks, queues, rendering and message helpers
2026-05-10 22:52:25 +03:00
melod1n
d666244863
storage: persist message attachments and user AI settings
2026-05-10 22:52:10 +03:00
melod1n
28f67aefc2
config: add env schema and localization foundation
2026-05-10 22:51:52 +03:00
melod1n
986d4aca46
build: update dependencies and project config
2026-05-10 22:50:04 +03:00
melod1n
35354a86de
refactor: centralize runtime config loading
...
- Move .env parsing and runtime config reload logic into Environment
- Reload runtime config and system prompt when source files change
- Gate unsafe eval and file tools behind explicit environment flags
- Rename datetime tool to get_datetime and improve tool prompts
- Return structured weather tool responses
- Preserve assistant thinking and aggregate tool calls across stream chunks
2026-05-03 19:45:18 +03:00
melod1n
2fc60806ff
feat(ollama): add tool calling support
...
Add Ollama tool integration for web search, weather, datetime, filesystem operations, and shell evaluation. Implement multi-round tool call handling, streaming updates, thinking cleanup, and safer path validation for file tools.
Also add related environment configuration, command execution helper, MarkdownV2 cancel handling fixes, and remove unused TryAgain callback command.
2026-05-03 15:16:14 +03:00
melod1n
86b26813e2
update tsconfig.build.json
2026-05-01 07:11:10 +03:00
melod1n
ca7caf7a51
update tsconfig.build.json
2026-05-01 07:08:57 +03:00
melod1n
13b41c3026
bump libs
...
migrate to typescript 6
remove ytdl feature
2026-05-01 07:05:17 +03:00
melod1n
ac51702f00
update @mistralai lib
2026-05-01 05:35:37 +03:00
melod1n
0a34e15a22
fix gemini image analyze text
2026-05-01 05:27:03 +03:00
melod1n
c24bc8394b
fix
2026-05-01 05:18:39 +03:00
melod1n
0f91e43ea0
feat: add Ollama audio transcription and runtime config reload
...
- add audio capability reporting for Ollama models
- support Telegram voice messages via ffmpeg conversion and Ollama transcription
- add USE_SYSTEM_PROMPT toggle and runtime reloading of .env/system prompt settings
- support ollama_options.json for custom Ollama request options
- improve Telegram MarkdownV2 escaping and formatting preservation
- add environment setters for AI provider credentials and models
- show audio capability in info/model commands
2026-05-01 05:09:10 +03:00
melod1n
382e00ce31
bump libs
2026-05-01 04:54:11 +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