Skip to main content

Module models

Module models 

Source
Expand description

models.json — parses built-in and user models.json files and constructs yoagent ModelConfigs with rich compat stored in headers.

Structs§

ProviderEntry
A resolved provider entry in the registry.

Functions§

load_builtin
Load providers from an embedded JSON string (from include_str!).
load_user
Load providers from a user’s models.json file (returns empty vec if file missing).
merge
Merge user providers on top of built-in providers. User providers with the same id replace built-in entries entirely.