Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsExecuteMode ¶
func IsExecuteMode(mode ExecutionMode) bool
IsExecuteMode returns true if the execution mode executes tools.
func IsExecuteModeString ¶
IsExecuteModeString returns true if the execution mode string is execute mode. Matches both "execute" and "" (empty string treated as default execute mode).
func IsPlanMode ¶
func IsPlanMode(mode ExecutionMode) bool
IsPlanMode returns true if the execution mode is plan mode.
func IsPlanModeString ¶
IsPlanModeString returns true if the execution mode string is plan mode.
Types ¶
type ExecutionMode ¶
type ExecutionMode string
ExecutionMode determines: - Whether tools are actually executed or just described - How the agent behaves (plan, execute, etc.)
const ( // ExecutionModeExecute is the default mode - tools are executed normally. ExecutionModeExecute ExecutionMode = "execute" // ExecutionModePlan is planning mode - tools are described but not executed. // In this mode, the agent only provides descriptions/plans without running them. // This is useful for letting users review before actual execution. ExecutionModePlan ExecutionMode = "plan" )
Click to show internal directories.
Click to hide internal directories.