chore: Simplify code logic (#21496)
Co-authored-by: 刘江波 <jiangbo721@163.com>
This commit is contained in:
parent
90aba77471
commit
cefb8e4218
5 changed files with 7 additions and 14 deletions
|
|
@ -201,8 +201,6 @@ class CompletionAppGenerator(MessageBasedAppGenerator):
|
|||
try:
|
||||
# get message
|
||||
message = self._get_message(message_id)
|
||||
if message is None:
|
||||
raise MessageNotExistsError()
|
||||
|
||||
# chatbot app
|
||||
runner = CompletionAppRunner()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue