Spaces:
Paused
Paused
Download src/opencode_api/agent/__init__.py from AUXteam/opencode-api: direct link, hf CLI and curl.
- Browser
- Download file 595 Bytes
-
https://huggingface.co/spaces/AUXteam/opencode-api/resolve/139795750ece1c4050b591421939e682da08d550/src/opencode_api/agent/__init__.py
- Command line
-
hf download hf://spaces/AUXteam/opencode-api@139795750ece1c4050b591421939e682da08d550/src/opencode_api/agent/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/AUXteam/opencode-api/resolve/139795750ece1c4050b591421939e682da08d550/src/opencode_api/agent/__init__.py
595 Bytes
| """ | |
| Agent module - agent configurations and system prompts. | |
| """ | |
| from .agent import ( | |
| AgentInfo, | |
| AgentModel, | |
| AgentPermission, | |
| get, | |
| list_agents, | |
| default_agent, | |
| register, | |
| unregister, | |
| is_tool_allowed, | |
| get_system_prompt, | |
| get_prompt_for_provider, | |
| DEFAULT_AGENTS, | |
| PROMPTS, | |
| ) | |
| __all__ = [ | |
| "AgentInfo", | |
| "AgentModel", | |
| "AgentPermission", | |
| "get", | |
| "list_agents", | |
| "default_agent", | |
| "register", | |
| "unregister", | |
| "is_tool_allowed", | |
| "get_system_prompt", | |
| "get_prompt_for_provider", | |
| "DEFAULT_AGENTS", | |
| "PROMPTS", | |
| ] | |