Spaces:
Build error
Build error
File size: 963 Bytes
51ff9e5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
from enum import Enum
class ObservationType(str, Enum):
READ = 'read'
"""The content of a file
"""
WRITE = 'write'
EDIT = 'edit'
BROWSE = 'browse'
"""The HTML content of a URL
"""
RUN = 'run'
"""The output of a command
"""
RUN_IPYTHON = 'run_ipython'
"""Runs a IPython cell.
"""
CHAT = 'chat'
"""A message from the user
"""
DELEGATE = 'delegate'
"""The result of a task delegated to another agent
"""
MESSAGE = 'message'
ERROR = 'error'
SUCCESS = 'success'
NULL = 'null'
THINK = 'think'
AGENT_STATE_CHANGED = 'agent_state_changed'
USER_REJECTED = 'user_rejected'
CONDENSE = 'condense'
"""Result of a condensation operation."""
RECALL = 'recall'
"""Result of a recall operation. This can be the workspace context, a microagent, or other types of information."""
MCP = 'mcp'
"""Result of a MCP Server operation"""
|