core: change API to suspend agent (#752)

This commit is contained in:
Evgeny Poberezkin
2022-06-26 15:04:44 +01:00
committed by GitHub
parent 5367ffe418
commit 463f644bce
6 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ responseToView testView = \case
CRChatStarted -> ["chat started"]
CRChatRunning -> ["chat is running"]
CRChatStopped -> ["chat stopped"]
CRAppPhase p -> ["app phase " <> sShow p]
CRChatSuspended -> ["chat suspended"]
CRApiChats chats -> if testView then testViewChats chats else [plain . bshow $ J.encode chats]
CRApiChat chat -> if testView then testViewChat chat else [plain . bshow $ J.encode chat]
CRApiParsedMarkdown ft -> [plain . bshow $ J.encode ft]