Documentation
¶
Index ¶
- func New(_ Config, deps Deps) (agentkit.HookRuntime, error)
- type Config
- type Deps
- type Runtime
- func (r *Runtime) AfterTool(ctx context.Context, in *agentkit.ToolResult) error
- func (r *Runtime) BeforeStep(ctx context.Context, in *agentkit.BeforeStep) error
- func (r *Runtime) BeforeTool(ctx context.Context, in *agentkit.ToolCall) error
- func (r *Runtime) TurnStopping(ctx context.Context, in *agentkit.TurnStopping) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Deps ¶
type Deps struct {
Providers []agentkit.HookProvider `json:"providers,omitempty"`
}
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
func (*Runtime) BeforeStep ¶
func (*Runtime) BeforeTool ¶
func (*Runtime) TurnStopping ¶
Click to show internal directories.
Click to hide internal directories.