testsuite

package
v1.0.18 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(t *testing.T, g *gen.Generator, caps Capabilities)

func RunEmbed

func RunEmbed(t *testing.T, e embed.Embeder, m embed.Model, caps EmbedCapabilities)

Types

type Capabilities

type Capabilities struct {
	Tools               bool
	StructuredOutput    bool
	Streaming           bool
	Thinking            bool
	Agent               bool // agent.Run[T] — multi-depth tool-calling loop with structured result
	StreamThinkingTools bool // Stream() interleaving text + thinking + tool-call deltas (single turn) — implies Thinking
	StreamAgentMultiHop bool // Stream() driven multi-turn agent loop; signature replay assertions gated by Thinking
}

Capabilities declares which gen-side features the model under test supports. The harness skips subtests whose flag is false so missing coverage surfaces in `go test -v` output instead of being silently elided.

type EmbedCapabilities

type EmbedCapabilities struct {
	Single   bool
	Many     bool
	Document bool
}

EmbedCapabilities declares which embed-side features the model under test supports.

Jump to

Keyboard shortcuts

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