Spaces:
Running
Running
|
Download plugins/_migrate_agents/api/migration_preview.py.dox.md from Leon4gr45/openoperator: direct link, hf CLI and curl.
- Browser
- Download file 551 Bytes
-
https://huggingface.co/spaces/Leon4gr45/openoperator/resolve/main/plugins/_migrate_agents/api/migration_preview.py.dox.md
- Command line
-
hf download hf://spaces/Leon4gr45/openoperator/plugins/_migrate_agents/api/migration_preview.py.dox.md
-
curl -L -o migration_preview.py.dox.md https://huggingface.co/spaces/Leon4gr45/openoperator/resolve/main/plugins/_migrate_agents/api/migration_preview.py.dox.md
551 Bytes
migration_preview.py DOX
Purpose
Preview a user-selected harness export without changing Agent Zero state.
Contract
- Auth and CSRF use the default
ApiHandlerprotections. - Accepts multipart
sourceplus one or morefiles[]values. - Rejects unsafe archives and uploads larger than 256 MiB.
- Returns counts, chat titles, knowledge files, skills, exclusions, and warnings.
- Never returns source message bodies or credential values.
Verification
Run python -m pytest plugins/_migrate_agents/tests -q from the Agent Zero root.