perf: 完善openai异常处理

This commit is contained in:
RockChinQ
2024-02-01 18:11:47 +08:00
parent a9d92115f8
commit 7026abe56a
14 changed files with 1195 additions and 9 deletions

View File

@@ -78,6 +78,8 @@ class Controller:
self.ap.logger.debug(result.debug_notice)
if result.console_notice:
self.ap.logger.info(result.console_notice)
if result.error_notice:
self.ap.logger.error(result.error_notice)
async def _execute_from_stage(
self,