Documentation
¶
Overview ¶
Package task provides the built-in background task tool task: it lists and stops the background tasks spawned by the current session, for every kind of task, including sub-agents and background commands.
Tasks are started by their own tools (such as sub_agent and the background mode of shell); when you provide those, provide this tool too, or the model cannot check on or stop its tasks. It depends on the tool.TaskManager provided by the runtime and is hidden without one.
Index ¶
Constants ¶
const ( ActionStatus = "status" ActionStop = "stop" )
The tool's two operations, chosen with the action parameter.
const ToolName = "task"
ToolName is the name of the background task tool.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.