Documentation
¶
Overview ¶
Package gates holds pause handlers for tool calls that need a person before they can finish. Each type implements pause.Handler and touches only loop's public types, so any front end in this module (the CLI, a future server) can use it.
Index ¶
Constants ¶
View Source
const AskUserToolName = "ask_user"
AskUserToolName is the tool the model calls to ask the person a question.
Variables ¶
This section is empty.
Functions ¶
func AskUserToolInfo ¶
AskUserToolInfo describes the ask_user tool to the model.
Types ¶
type AskUser ¶
type AskUser struct {
// contains filtered or unexported fields
}
AskUser answers an ask_user call with the person's next reply.
func NewAskUser ¶
type Confirm ¶
type Confirm struct {
// contains filtered or unexported fields
}
Confirm asks before running a tool marked confirm.
func NewConfirm ¶
Click to show internal directories.
Click to hide internal directories.