empty.py 293 B

12345678910111213141516
  1. from dataclasses import dataclass
  2. from opendevin.core.schema import ActionType
  3. from .action import Action
  4. @dataclass
  5. class NullAction(Action):
  6. """An action that does nothing."""
  7. action: str = ActionType.NULL
  8. @property
  9. def message(self) -> str:
  10. return 'No action'