MCPcopy Create free account
hub / github.com/AgentOps-AI/agentops / ActionEvent

Class ActionEvent

agentops/legacy/event.py:60–73  ·  view source on GitHub ↗

For generic events action_type(str, optional): High level name describing the action logs(str, optional): For detailed information/logging related to the action screenshot(str, optional): url to snapshot if agent interacts with UI

Source from the content-addressed store, hash-verified

58
59@dataclass
60class ActionEvent(Event):
61 """
62 For generic events
63
64 action_type(str, optional): High level name describing the action
65 logs(str, optional): For detailed information/logging related to the action
66 screenshot(str, optional): url to snapshot if agent interacts with UI
67 """
68
69 event_type: str = EventType.ACTION.value
70 # TODO: Should not be optional, but non-default argument 'agent_id' follows default argument error
71 action_type: Optional[str] = None
72 logs: Optional[Union[str, Sequence[Any]]] = None
73 screenshot: Optional[str] = None
74
75
76@dataclass

Callers 3

test_record_timestampMethod · 0.90
canary.pyFile · 0.90

Calls

no outgoing calls

Tested by 1

test_record_timestampMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…