workflow

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

Handler serves workflow endpoints.

func NewHandler

func NewHandler(agent *agentsvc.Service) *Handler

NewHandler creates a workflow HTTP handler.

func (*Handler) Register

func (h *Handler) Register(mux *http.ServeMux)

Register mounts workflow routes on the given mux.

type RunRequest

type RunRequest struct {
	Location       string      `json:"location"`
	TaskID         string      `json:"taskId,omitempty"`
	Input          interface{} `json:"input,omitempty"`
	Title          string      `json:"title,omitempty"`
	TimeoutSeconds int         `json:"timeoutSeconds,omitempty"`
}

RunRequest describes a workflow run to execute.

type RunResponse

type RunResponse struct {
	ConversationID string `json:"conversationId"`
}

RunResponse is the result of launching a workflow run.

Jump to

Keyboard shortcuts

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