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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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