refverifier

package
v0.1.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const ID = "ref-verifier-stub"

ID is the YAML id for the completion+aux proof plugin.

Variables

This section is empty.

Functions

func NewCompletionGate

func NewCompletionGate(cfg Config) completion.Gate

NewCompletionGate steers the completion with a short response after a successful aux collect. When the aux client is not configured or returns an error, the gate passes the original stream.

Types

type Config

type Config struct {
	Order *int   `yaml:"order"`
	Role  string `yaml:"aux_role"`
	// SteerText is the replacement assistant text when aux succeeds.
	SteerText string `yaml:"steer_text"`
}

Config is optional: auxiliary role and replacement delta.

func DecodeConfig

func DecodeConfig(n yaml.Node) (Config, error)

DecodeConfig parses the feature block.

Jump to

Keyboard shortcuts

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