fix(AgentRuntime): repair exception handling logic in method executeTurn

This commit is contained in:
2026-03-04 17:23:14 +08:00
parent e6a071fc93
commit da1abbdc88

View File

@@ -52,8 +52,7 @@ object AgentRuntime {
executeOrder(modules, runningFlowContext) executeOrder(modules, runningFlowContext)
} }
} catch (e: Exception) { } catch (e: Exception) {
runningFlowContext.status.ok = false runningFlowContext.status.errors.add(e.localizedMessage)
runningFlowContext.status.errMsg.add(e.localizedMessage)
} }
return runningFlowContext return runningFlowContext