invokeclient

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Invoke

func Invoke(ctx context.Context, c *apiclient.Client, id, input string, opts Options) (err error)

Types

type Options

type Options struct {
	ThreadID string
	Quiet    bool
	Details  bool
	Async    bool
	Step     string
}

type QuietInputter

type QuietInputter struct {
}

func (QuietInputter) Next

func (d QuietInputter) Next(_ context.Context, previous string, resp *types.InvokeResponse) (string, bool, error)

type VerboseInputter

type VerboseInputter struct {
	// contains filtered or unexported fields
}

func (VerboseInputter) Next

func (d VerboseInputter) Next(ctx context.Context, previous string, resp *types.InvokeResponse) (string, bool, error)

Jump to

Keyboard shortcuts

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