Spaces:
Running
Running
|
Download api/agent_profile_create.py.dox.md from Leon4gr45/openoperator: direct link, hf CLI and curl.
- Browser
- Download file 712 Bytes
-
https://huggingface.co/spaces/Leon4gr45/openoperator/resolve/main/api/agent_profile_create.py.dox.md
- Command line
-
hf download hf://spaces/Leon4gr45/openoperator/api/agent_profile_create.py.dox.md
-
curl -L -o agent_profile_create.py.dox.md https://huggingface.co/spaces/Leon4gr45/openoperator/resolve/main/api/agent_profile_create.py.dox.md
712 Bytes
agent_profile_create.py DOX
Purpose
- Create explicitly requested user-owned agent profiles through the administrative API.
Ownership
agent_profile_create.pyvalidates profile metadata and persists it throughhelpers.subagents.
Local Contracts
- Uses normal authenticated, CSRF-protected
ApiHandlerdefaults. - Accepts only a single safe profile name and flat prompt filenames; paths, reserved names, and replacements are rejected.
- Writes only beneath
usr/agents/and never participates in Spynel routing.
Work Guidance
- Preserve existing profile discovery and selection behavior.
Verification
- Run
pytest tests/test_spynel.py.
Child DOX Index
No child DOX files.