{-# LANGUAGE DeriveAnyClass #-}

module AgentTask where

import Hercules.API.Agent.Build.BuildTask
  ( BuildTask,
  )
import Hercules.API.Agent.Evaluate.EvaluateTask
  ( EvaluateTask,
  )
import Hercules.API.Prelude

data AgentTask
  = Evaluate EvaluateTask
  | Build BuildTask
  deriving (Generic, Show, Eq, ToJSON, FromJSON)

# LANGUAGE DeriveAnyClass #

module AgentTask where

import Hercules.API.Agent.Build.BuildTask
  ( BuildTask,
  )
import Hercules.API.Agent.Evaluate.EvaluateTask
  ( EvaluateTask,
  )
import Hercules.API.Prelude

data AgentTask
  = Evaluate EvaluateTask
  | Build BuildTask
  deriving (Generic, Show, Eq, ToJSON, FromJSON)
