model

package
v0.6.42 Latest Latest
Warning

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

Go to latest
Published: May 23, 2026 License: AGPL-3.0, Apache-2.0, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProxyModel

func ProxyModel(runtimeType console.AgentRuntimeType, model string) string

ProxyModel returns the model identifier to send through the Plural AI proxy. If model already includes a provider prefix (provider/model), it is returned unchanged. Otherwise, when a default provider exists for the runtime type, provider and model are joined.

func ProxyProvider

func ProxyProvider(runtimeType console.AgentRuntimeType) string

ProxyProvider returns the upstream LLM provider slug for a runtime type when routing bare model names through the Plural AI proxy (provider/model format).

Types

This section is empty.

Jump to

Keyboard shortcuts

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