delegationdefault

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2026 License: MIT Imports: 3 Imported by: 1 module, 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultDelegationProvider

type DefaultDelegationProvider struct {
	provider.ProviderDefaults
	tools.DelegationProviderDefaults
}

Delegation provider routing every task through the delegation config section

func NewDefaultDelegationProvider

func NewDefaultDelegationProvider() *DefaultDelegationProvider

Provider with both default method sets bound to itself

func (*DefaultDelegationProvider) DisplayName

func (*DefaultDelegationProvider) DisplayName() string

Picker label Default

func (*DefaultDelegationProvider) Name

Delegation backend config value default

func (*DefaultDelegationProvider) RouteTask

func (*DefaultDelegationProvider) RouteTask(_, config map[string]any) (map[string]any, error)

Delegation section as the route minus service_tier, which that section never carries as a speed tier

func (*DefaultDelegationProvider) Summary

func (*DefaultDelegationProvider) Summary() string

Picker line describing the delegation section route with the parent model fallback

type Plugin

type Plugin struct{}

Compiled-in default delegation strategy plugin

func (Plugin) Manifest

func (Plugin) Manifest() plugins.Manifest

Manifest of the delegation/default plugin from its plugin.yaml

func (Plugin) Register

func (Plugin) Register(ctx *plugins.Context) error

Registers the default delegation provider

Jump to

Keyboard shortcuts

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