Expand description
models.json — parses built-in and user models.json files and constructs yoagent ModelConfigs with rich compat stored in headers.
Structs§
- Provider
Entry - 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
idreplace built-in entries entirely.