agent

package
v0.0.0-...-cc5d81a Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	Status  Status `json:"status"`
	Message string `json:"message"`
}

func (*Message) MarshalZerologObject

func (m *Message) MarshalZerologObject(e *zerolog.Event)

type MessageSlice

type MessageSlice []Message

func (MessageSlice) MarshalZerologArray

func (s MessageSlice) MarshalZerologArray(a *zerolog.Array)

type Response

type Response struct {
	Messages MessageSlice `json:"messages"`
}

func Call

func Call(ctx context.Context, metadata *aciregistry.Metadata, requestRef string, parentThreadUID, threadUID []byte, isNew bool) (*Response, error)

func (*Response) MarshalZerologObject

func (r *Response) MarshalZerologObject(e *zerolog.Event)

type Status

type Status string
const (
	Status_Debug    Status = "debug"
	Status_Info     Status = "info"
	Status_Waiting  Status = "waiting"
	Status_Complete Status = "complete"
)

Jump to

Keyboard shortcuts

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