Help us shape the future of Go! Take the 2026 Go Developer Survey

oailive

package
v1.14.0 Latest Latest
Warning

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

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

Documentation

Overview

Package oailive is the live checklist tier for the OpenAI-compatible plugins. It runs the shared livetest checklist and then the checks every plugin built on the compat_oai base owes: the extra config passthrough that carries provider fields the typed config does not model.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(t *testing.T, g *genkit.Genkit, s Suite)

Run walks the plugin registered on g through the shared checklist and then the OpenAI-compatible one, under a "compat_oai" subtest. See livetest.Run for what it defines on g.

Types

type Suite

type Suite struct {
	livetest.Suite
	// ExtraConfig, when set, is the whole request config for the
	// passthrough check and must route at least one field through the
	// config's extra map. Plugins that speak the SDK's own request type
	// have no extra map and leave it nil.
	ExtraConfig map[string]any
}

Suite describes how to drive one OpenAI-compatible provider.

Jump to

Keyboard shortcuts

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