agents

package
v0.0.0-...-ef5cc6b Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(ctx context.Context) http.HandlerFunc

func Get

func New

func New(r chi.Router, ctx context.Context)

func Start

func Start(ctx context.Context) http.HandlerFunc

func Stop

func Stop(ctx context.Context) http.HandlerFunc

func Update

func Update(ctx context.Context) http.HandlerFunc

Types

type CreateBody

type CreateBody struct {
	Name         *string              `json:"name,omitempty"`
	Description  string               `json:"description"`
	Instructions *string              `json:"instructions,omitempty"`
	Settings     models.AgentSettings `json:"settings"`
	Position     *models.Position     `json:"position,omitempty"`
}

type UpdateBody

type UpdateBody struct {
	Description  *string               `json:"description,omitempty"`
	Instructions *string               `json:"instructions,omitempty"`
	Settings     *models.AgentSettings `json:"settings,omitempty"`
	Position     *models.Position      `json:"position,omitempty"`
}

Jump to

Keyboard shortcuts

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