fix: wizard preview TLS, progress storage and inactive bot logs (#2651)

This commit is contained in:
RockChinQ
2026-10-12 00:15:58 +08:00
committed by GitHub
parent 13446ecfd3
commit 80ea528ca0
5 changed files with 57 additions and 3 deletions
+2 -1
View File
@@ -776,7 +776,8 @@ class BotService:
raise WorkspaceNotFoundError('Bot not found')
runtime_bot = await self.ap.platform_mgr.get_bot_by_uuid(context, bot_uuid)
if runtime_bot is None:
raise Exception('Bot not found')
# Saved but disabled/unconfigured bots have no runtime logs yet.
return [], 0
logs, total_count = await runtime_bot.logger.get_logs(from_index, max_count)