diff --git a/src/core/src/commonMain/kotlin/community/flock/aigentic/core/agent/AgentExecutor.kt b/src/core/src/commonMain/kotlin/community/flock/aigentic/core/agent/AgentExecutor.kt index 7f5ddc2..ca5535e 100644 --- a/src/core/src/commonMain/kotlin/community/flock/aigentic/core/agent/AgentExecutor.kt +++ b/src/core/src/commonMain/kotlin/community/flock/aigentic/core/agent/AgentExecutor.kt @@ -105,9 +105,6 @@ class AgentExecutor { println("Waiting for permission for ${toolCall.name}") delay(300) } - if (status.value.runningState == AgentRunningState.WAITING_ON_APPROVAL) { - setRunningState(AgentRunningState.RUNNING) - } setRunningState(AgentRunningState.EXECUTING_TOOL) val result = tool.handler(functionArgs) setRunningState(AgentRunningState.RUNNING)