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

all

package
v0.17.5 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package all is the default provider registry: the CLI and SDK sessions that pass no stream function dispatch through it. Light assemblies build their own api.Registry with only the families they select.

A package that references this one links every family even when it always supplies its own stream function, because the default is a static reference. An embedder in that position (a Worker running agent.NewAgentSession with a custom StreamFn) builds with -tags orb_nodefaultproviders, which empties the default so no family's adapter or SDK is linked through it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Registry

func Registry() *api.Registry

Registry returns a registry with every API family.

func StreamSimple

func StreamSimple(ctx context.Context, model *ai.Model, requestContext ai.Context, options *ai.SimpleStreamOptions) (ai.AssistantMessageEventStream, error)

StreamSimple dispatches a model through the default registry.

Types

This section is empty.

Jump to

Keyboard shortcuts

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