File size: 537 Bytes
6a59cd0
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# coding: utf-8
# Copyright (c) 2025 inclusionAI.

from aworld.core.tool.action_factory import ActionFactory
from aworld.core.tool.action import ExecutableAction
from aworld.tools.tool_action import HumanExecuteAction


@ActionFactory.register(name=HumanExecuteAction.HUMAN_CONFIRM.value.name,
                        desc=HumanExecuteAction.HUMAN_CONFIRM.value.desc,
                        tool_name="human_confirm")
class ExecuteAction(ExecutableAction):
    """Only one action, define it, implemented can be omitted. Act in tool."""