agent-zero/plugins/_telegram_integration/helpers
frdel 15a2b553be Unify global model presets
Make model presets a single global collection and treat presets as reusable setups (main, utility, embedding). Persisted scope configs now store only a preset name (Default is always present and immutable); project-scoped preset definitions were removed and attempts to edit/reset project presets are rejected. Add embedding-model support throughout: include embedding slot in presets, surface embedding in the switcher and override APIs, and notify extensions when the effective embedding model changes. Implement rename/retire propagation to update plugin configs, saved chats, and live AgentContext objects when preset names change or presets are removed. Update CLI/integration commands to use an "inherit" action for returning to the scoped preset and to report the effective scoped-or-chat preset. Add startup migration/bootstrap to initialize presets from remote or bundled fallback and numerous docs/UI text updates to reflect the new preset model. Extra: refactor config resolution helpers and add safety checks (validation, atomic writes) when saving presets.
2026-07-17 12:16:10 +02:00
..
__init__.py feat: add Telegram integration plugin - core backend 2026-03-20 10:12:36 -07:00
bot_manager.py Scope Telegram integration commands 2026-06-07 21:20:30 +05:30
command_ui.py Unify global model presets 2026-07-17 12:16:10 +02:00
constants.py Revert "Add Telegram speech mode" 2026-05-29 00:10:04 +05:30
dependencies.py Change default self-update backup directory from /a0/tmp to /root and add lazy aiogram dependency loading for Telegram plugin 2026-03-26 10:20:35 +01:00
draft_stream.py Show friendly Telegram errors 2026-05-29 00:10:04 +05:30
error_ui.py Show friendly Telegram errors 2026-05-29 00:10:04 +05:30
handler.py Scope Telegram integration commands 2026-06-07 21:20:30 +05:30
heartbeat.py Add Telegram long-run status updates 2026-05-29 00:10:04 +05:30
telegram_client.py Send Telegram media attachments natively 2026-05-29 00:10:04 +05:30