xr_ai_models.presets#
Built-in presets for in-tree AI services.
Each preset is a dict with the same keys a flattened model-profile entry carries
(except base_url, which is the caller’s responsibility). A YAML entry
that says kind: preset:<name> merges its keys on top of the preset’s;
explicit keys win.
Functions#
|
Return an independent copy of a built-in model preset. |
|
Return the sorted names of all built-in model presets. |
Package Contents#
- xr_ai_models.presets.get_preset(name: str) dict[str, Any]#
Return an independent copy of a built-in model preset.
Raises#
- KeyError
If
namedoes not identify a built-in preset.
- xr_ai_models.presets.available_presets() list[str]#
Return the sorted names of all built-in model presets.