mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-14 17:27:59 -05:00
17 lines
437 B
Python
17 lines
437 B
Python
from dataclasses import dataclass
|
|
|
|
from openhands.core.schema import ObservationType
|
|
from openhands.events.observation.observation import Observation
|
|
|
|
|
|
@dataclass
|
|
class AgentStateChangedObservation(Observation):
|
|
"""This data class represents the result from delegating to another agent"""
|
|
|
|
agent_state: str
|
|
observation: str = ObservationType.AGENT_STATE_CHANGED
|
|
|
|
@property
|
|
def message(self) -> str:
|
|
return ''
|