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
| 58 | |
| 59 | @dataclass |
| 60 | class 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 |
no outgoing calls
searching dependent graphs…