rollback_file
rollback_file: Restore Previous File Version
rollback_file: Restore Previous File Versiondef rollback_file(
agent_name: str,
file_path: str,
n: int,
base_url: str = aios_kernel_url
) -> StorageResponse# Roll back a configuration file to its previous version
response = rollback_file(
"system_agent",
"config/app_settings.json",
n=1
)
print(response["response"]["response_message"])Last updated