delegate.py 392 B

1234567891011121314151617
  1. from dataclasses import dataclass
  2. from opendevin.core.schema import ObservationType
  3. from .observation import Observation
  4. @dataclass
  5. class AgentDelegateObservation(Observation):
  6. """This data class represents the result from delegating to another agent"""
  7. outputs: dict
  8. observation: str = ObservationType.DELEGATE
  9. @property
  10. def message(self) -> str:
  11. return ''