tests

package
v0.7.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChannelHandler

type ChannelHandler struct {
	InputCh chan string
}

ChannelHandler is a mock handler for testing

func (*ChannelHandler) HandleTool

func (h *ChannelHandler) HandleTool(ctx context.Context, call domain.ToolCall) (domain.ToolResult, error)

func (*ChannelHandler) Input

func (h *ChannelHandler) Input(ctx context.Context) (string, error)

func (*ChannelHandler) Output

func (h *ChannelHandler) Output(ctx context.Context, requests []domain.ActionRequest) (bool, error)

func (*ChannelHandler) Signal

func (h *ChannelHandler) Signal(ctx context.Context, name string, args map[string]any) error

func (*ChannelHandler) SystemOutput

func (h *ChannelHandler) SystemOutput(ctx context.Context, msg string) error

Directories

Path Synopsis
fixtures

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL