host

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Host

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

func NewHost

func NewHost() *Host

func (*Host) Close

func (h *Host) Close() error

func (*Host) Execute

func (h *Host) Execute(c *execx.Cmd) (*provider.Provider, error)

func (*Host) Tools

func (h *Host) Tools() ([]openai.ChatCompletionToolParam, error)

type HostedToolHandler

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

func (*HostedToolHandler) Execute

func (h *HostedToolHandler) Execute(ctx context.Context) (any, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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