| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Free.Agent.Cli.Config
Description
CLI configuration types and parsers for the unified free-agent executable.
Synopsis
- data Backend
- data HermesConfig = HermesConfig {}
- data KimiConfig = KimiConfig {}
- data LlmConfig = LlmConfig {}
- data CommandConfig = CommandConfig {}
- data GatewayCliConfig = GatewayCliConfig {
- gcwRoot :: FilePath
- gcwNames :: [Name]
- gcwPromptFile :: FilePath
- gcwBaseUrl :: Text
- gcwKeyEnv :: String
- gcwQuiesce :: Maybe Int
- gcwPitboss :: Maybe Name
- defaultHermesConfig :: HermesConfig
- defaultKimiConfig :: KimiConfig
- defaultLlmConfig :: LlmConfig
- defaultCommandConfig :: CommandConfig
- parseHermesConfig :: Parser HermesConfig
- parseKimiConfig :: Parser KimiConfig
- parseLlmConfig :: Parser LlmConfig
- parseCommandConfig :: Parser CommandConfig
- parseGatewayConfig :: Parser GatewayCliConfig
- commonAgentOptions :: Parser FilePath -> Parser (Maybe FilePath) -> Parser (Maybe Int) -> Parser (Maybe Name) -> Parser (FilePath, [Name], FilePath, Maybe FilePath, Maybe Text, Maybe Text, Maybe Int, Maybe Name)
- rootOpt :: Parser FilePath
- namesOpt :: Parser [Name]
- promptOpt :: Parser FilePath
- sessionOpt :: Parser (Maybe FilePath)
- modelOpt :: Parser (Maybe Text)
- providerOpt :: Parser (Maybe Text)
- quiesceOpt :: Parser (Maybe Int)
- pitbossOpt :: Parser (Maybe Name)
Documentation
data HermesConfig Source #
Constructors
| HermesConfig | |
Instances
| Show HermesConfig Source # | |
Defined in Free.Agent.Cli.Config Methods showsPrec :: Int -> HermesConfig -> ShowS # show :: HermesConfig -> String # showList :: [HermesConfig] -> ShowS # | |
data KimiConfig Source #
Constructors
| KimiConfig | |
Instances
| Show KimiConfig Source # | |
Defined in Free.Agent.Cli.Config Methods showsPrec :: Int -> KimiConfig -> ShowS # show :: KimiConfig -> String # showList :: [KimiConfig] -> ShowS # | |
Constructors
| LlmConfig | |
data CommandConfig Source #
Constructors
| CommandConfig | |
Instances
| Show CommandConfig Source # | |
Defined in Free.Agent.Cli.Config Methods showsPrec :: Int -> CommandConfig -> ShowS # show :: CommandConfig -> String # showList :: [CommandConfig] -> ShowS # | |
data GatewayCliConfig Source #
Constructors
| GatewayCliConfig | |
Fields
| |
Instances
| Show GatewayCliConfig Source # | |
Defined in Free.Agent.Cli.Config Methods showsPrec :: Int -> GatewayCliConfig -> ShowS # show :: GatewayCliConfig -> String # showList :: [GatewayCliConfig] -> ShowS # | |