Discover Packages
github.com/SAPPHIR3-ROS3/Solomon/v2026
internal
modelsdev
package
Version:
v2026.909.0
Opens a new window with list of versions in this module.
Published: Sep 9, 2026
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package modelsdev reads the public models.dev catalog used to enrich model
selectors with provider-specific capabilities.
Load returns a cached catalog when available. The first caller downloads the
public catalog; concurrent callers share that request.
Lookup finds the exact model as served by a configured provider. It does not
fall back to another provider because limits and supported input can differ.
type Model struct {
ID string `json:"id"`
Modalities struct {
Input []string `json:"input"`
} `json:"modalities"`
Limit struct {
Context int `json:"context"`
Output int `json:"output"`
} `json:"limit"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.