melod1n
858e3d7990
shitton
2026-05-14 20:58:52 +03:00
melod1n
067bbd0708
shitton
2026-05-14 20:55:48 +03:00
melod1n
78932e82af
shitton
2026-05-13 16:07:47 +03:00
melod1n
a411c6874a
shitton
2026-05-13 14:58:53 +03:00
melod1n
bd548a9f43
shitton
2026-05-13 13:36:51 +03:00
melod1n
674c3cbd44
shitton
2026-05-13 12:05:55 +03:00
melod1n
c5b61ee3d8
shitton
2026-05-13 10:18:54 +03:00
melod1n
cd8d2683c0
shitton
2026-05-13 05:10:51 +03:00
melod1n
3848dd82d9
feat(ai): improve runtime capability reporting and context settings
...
Add explicit chat capability tracking, expose formatted runtime capabilities
in the info command, and support a max context size option for user AI settings.
Also update Ollama base URL resolution to use OLLAMA_ADDRESS and simplify
provider chat command execution.
2026-05-11 02:01:44 +03:00
melod1n
d2464b9b21
app: wire new commands and update docs
2026-05-10 22:53:43 +03:00
melod1n
94d695e008
commands: localize generic bot commands
2026-05-10 22:53:32 +03:00
melod1n
3d14e3c0d5
commands: switch AI commands to unified runtime
2026-05-10 22:53:22 +03:00
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
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
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
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
8822e8f46a
export db command
2026-04-29 06:45:00 +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
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
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
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