Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
getTextInputLine :: MonadTrans t => t (InputT IO) (Maybe Text) Source #
getUserCommand :: forall p t. (PersistentBackend p, MonadTrans t) => t (InputT IO) (Either (ParseErrorBundle Text Void) ReplCommand) Source #
editRequestWithEditor :: forall m. (MonadIO m, MonadFail m) => CreateChatCompletionRequest -> m (Maybe CreateChatCompletionRequest) Source #
editContentsWithEditor :: forall m. (MonadIO m, MonadFail m) => Contents -> m (Maybe Contents) Source #
runCmd' :: forall p. PersistentBackend p => Either (ParseErrorBundle Text Void) ReplCommand -> Maybe (Prompt (InputT IO) ()) -> Prompt (InputT IO) () Source #
runRepl :: forall p. PersistentBackend p => [ToolProxy] -> [CustomInstructionProxy] -> Text -> CreateChatCompletionRequest -> Contents -> IO () Source #