mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-05 15:31:08 +00:00
Change default self-update backup directory from /a0/tmp to /root and add lazy aiogram dependency loading for Telegram plugin
- Update default backup path from /a0/tmp/self-update-backups to /root/update-backups in self_update_manager.py, helpers/self_update.py, and documentation - Move aiogram from global requirements.txt to plugin-local requirements for _telegram_integration - Add ensure_dependencies() helper that installs aiogram on-demand via uv pip install - Add has_aiogram() check to avoid
This commit is contained in:
parent
68ad5aca46
commit
247c8d845f
15 changed files with 135 additions and 35 deletions
|
|
@ -614,7 +614,7 @@ def execute_pending_update(
|
|||
if bool(request_data.get("backup_usr", True)):
|
||||
backup_destination = create_usr_backup(
|
||||
repo_dir=REPO_DIR,
|
||||
backup_path=str(request_data.get("backup_path", "/a0/tmp/self-update-backups")),
|
||||
backup_path=str(request_data.get("backup_path", "/root/update-backups")),
|
||||
backup_name=str(request_data.get("backup_name", "agent-zero-usr-backup.zip")),
|
||||
conflict_policy=str(request_data.get("backup_conflict_policy", "rename")),
|
||||
logger=logger,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue