chore: Simplify code logic (#21496)

Co-authored-by: 刘江波 <jiangbo721@163.com>
This commit is contained in:
jiangbo721 2025-06-26 10:09:52 +08:00 committed by GitHub
commit cefb8e4218
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 7 additions and 14 deletions

View file

@ -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()