workflowvalidator

package
v0.9.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ChatServiceProfile = ValidationProfile{
	RequiredReturnType: "chat_history",
	RequiredInputType:  "chat_history",
}

Functions

This section is empty.

Types

type ValidationProfile

type ValidationProfile struct {
	RequiredReturnType string
	RequiredInputType  string
}

type Validator

type Validator struct{}

Validator validates workflows for specific use cases

func New

func New() *Validator

New creates a new workflow validator

func (*Validator) ValidateWorkflow

func (v *Validator) ValidateWorkflow(chain *taskengine.TaskChainDefinition, profile ValidationProfile) error

ValidateWorkflow ensures a workflow is compatible with the given profile

Jump to

Keyboard shortcuts

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