mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-04-29 03:00:45 -04:00
21 lines
431 B
Python
21 lines
431 B
Python
from dataclasses import dataclass
|
|
|
|
from opendevin.schema import ObservationType
|
|
|
|
from .base import Observation
|
|
|
|
|
|
@dataclass
|
|
class AgentDelegateObservation(Observation):
|
|
"""
|
|
This data class represents a delegate observation.
|
|
This is used when the produced action is NOT executable.
|
|
"""
|
|
|
|
outputs: dict
|
|
observation: str = ObservationType.DELEGATE
|
|
|
|
@property
|
|
def message(self) -> str:
|
|
return ''
|