agent

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2025 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OptimizeTool added in v0.0.11

func OptimizeTool(client *wingman.Client, model string, tool tool.Tool) tool.Tool

func OptimizeTools added in v0.0.11

func OptimizeTools(client *wingman.Client, model string, tools []tool.Tool) []tool.Tool

func ParseMCP added in v0.0.11

func ParseMCP() ([]tool.Tool, error)

func ParsePrompt added in v0.0.11

func ParsePrompt() (string, error)

func Run

func Run(ctx context.Context, client *wingman.Client, model string, tools []tool.Tool, options *RunOptions) error

func RunAzure added in v0.0.11

func RunAzure(ctx context.Context, client *wingman.Client, model string) error

func RunCoder

func RunCoder(ctx context.Context, client *wingman.Client, model string) error

func RunMCP

func RunMCP(ctx context.Context, client *wingman.Client, model string) error

func RunOpenAPI

func RunOpenAPI(ctx context.Context, client *wingman.Client, model string, path, url, bearer, username, password string) error

Types

type RunOptions

type RunOptions struct {
	System string
}

Jump to

Keyboard shortcuts

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