modelid

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CatalogModelID

func CatalogModelID(model string) string

CatalogModelID trims OpenRouter gateway prefixes and keeps the catalog id. It does not strip `openrouter/free`, because that string is itself a catalog id. A custom provider prefix is one segment, so `custom/kimi-k3` becomes `kimi-k3`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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