Documentation
¶
Index ¶
- func ConfigFor(ctx context.Context, name string) (*llm.ApprovalConfig, bool)
- func MarkTool(ctx context.Context, name string, cfg *llm.ApprovalConfig)
- func RequiresPrompt(ctx context.Context, name string) bool
- func RequiresQueue(ctx context.Context, name string) bool
- func WithState(ctx context.Context) context.Context
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarkTool ¶
func MarkTool(ctx context.Context, name string, cfg *llm.ApprovalConfig)
MarkTool attaches approval configuration to a tool name.
func RequiresPrompt ¶
RequiresPrompt reports whether a tool requires prompt-mode approval.
func RequiresQueue ¶
RequiresQueue reports whether a tool should be queued for approval.
Types ¶
Click to show internal directories.
Click to hide internal directories.