ToolExecutionMode#

Build typed tools from annotations and docstrings. See the guide.

class zett_agent.tools.base.ToolExecutionMode(*values)[源代码]#

Local scheduling policy for one Agent tool.

SERIAL = 'serial'#

Execute alone and only after every parallel tool in the response finishes.

PARALLEL = 'parallel'#

The handler may run concurrently with other parallel handlers.