diff options
| author | Ben Sima <ben@bensima.com> | 2025-12-17 13:29:40 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-12-17 13:29:40 -0500 |
| commit | ab01b34bf563990e0f491ada646472aaade97610 (patch) | |
| tree | 5e46a1a157bb846b0c3a090a83153c788da2b977 /Omni/Agent/Core.hs | |
| parent | e112d3ce07fa24f31a281e521a554cc881a76c7b (diff) | |
| parent | 337648981cc5a55935116141341521f4fce83214 (diff) | |
Merge Ava deployment changes
Diffstat (limited to 'Omni/Agent/Core.hs')
| -rw-r--r-- | Omni/Agent/Core.hs | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/Omni/Agent/Core.hs b/Omni/Agent/Core.hs index 88f7237..fb4a4b3 100644 --- a/Omni/Agent/Core.hs +++ b/Omni/Agent/Core.hs @@ -6,6 +6,17 @@ module Omni.Agent.Core where import Alpha import Data.Aeson (FromJSON, ToJSON) +-- | Engine/provider selection for agent +data EngineType + = EngineOpenRouter + | EngineOllama + | EngineAmp + deriving (Show, Eq, Generic) + +instance ToJSON EngineType + +instance FromJSON EngineType + -- | Status of a worker agent data WorkerStatus = Idle @@ -28,7 +39,8 @@ data Worker = Worker workerPid :: Maybe Int, workerStatus :: WorkerStatus, workerPath :: FilePath, - workerQuiet :: Bool -- Disable ANSI status bar (for loop mode) + workerQuiet :: Bool, -- Disable ANSI status bar (for loop mode) + workerEngine :: EngineType -- Which LLM backend to use } deriving (Show, Eq, Generic) |
