agentplateng

package
v0.0.0-...-53f79a1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PromptStart string = `` /* 329-byte string literal not displayed */

)

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

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

func New

func New(cfg *copilot.Config, oai *openai.Client) *Agent

func (*Agent) Execute

func (a *Agent) Execute(ctx context.Context, token string, req *copilot.Request, w http.ResponseWriter) error

func (*Agent) Route

func (a *Agent) Route() string

Jump to

Keyboard shortcuts

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