model

package
v0.6.76 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2026 License: AGPL-3.0, Apache-2.0, MIT Imports: 2 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

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