add workflow api for installed app & web api & service api

This commit is contained in:
takatost
2024-03-16 16:27:39 +08:00
parent d2d47d0e0e
commit 3cf8416484
11 changed files with 275 additions and 6 deletions

View File

@ -13,6 +13,12 @@ class NotChatAppError(BaseHTTPException):
code = 400
class NotWorkflowAppError(BaseHTTPException):
error_code = 'not_workflow_app'
description = "Only support workflow app."
code = 400
class AppSuggestedQuestionsAfterAnswerDisabledError(BaseHTTPException):
error_code = 'app_suggested_questions_after_answer_disabled'
description = "Function Suggested questions after answer disabled."