You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/config.json
+97Lines changed: 97 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -888,6 +888,14 @@
888
888
"description": "Map of fully-qualified model identifier (e.g., \"openai/gpt-4o-mini\") to context window size in tokens. Used by the conversation compaction trigger to decide when older turns must be summarized before the input exceeds the window. Models absent from this map have no registered window — callers fall back to their own default or skip the token-based trigger.",
"description": "Unified-mode synthesis input (Decision S5): a high-level, backend-agnostic list of inference providers the synthesizer expands into Llama Stack provider entries. Lives at the configuration root so it survives a future backend change. A non-empty list signals unified mode. Empty (the default) leaves legacy/remote modes unaffected. The sibling default_model / default_provider keep their query-time routing meaning and are independent of this list.",
"description": "Backend-specific knobs for unified mode, where LCORE synthesizes the Llama Stack run.yaml instead of reading an external file. Holds the baseline selector, an optional profile path, and a raw native_override escape hatch. Backend-agnostic high-level sections (e.g. inference.providers) live at the configuration root, not here. Mutually exclusive with library_client_config_path; that cross-field check lives on the root Configuration model. When set in library mode, library_client_config_path is not required.",
1079
+
"title": "Unified Llama Stack configuration"
1059
1080
}
1060
1081
},
1061
1082
"title": "LlamaStackConfiguration",
@@ -1682,6 +1703,82 @@
1682
1703
"title": "TrustedProxyServiceAccount",
1683
1704
"type": "object"
1684
1705
},
1706
+
"UnifiedInferenceProvider": {
1707
+
"additionalProperties": false,
1708
+
"description": "A high-level inference provider entry for unified-mode synthesis.\n\nOperators describe inference providers at this high level (backend-agnostic\nvocabulary) instead of authoring raw Llama Stack provider blocks. The\nsynthesizer (`apply_high_level_inference`) expands each entry into a Llama\nStack `providers.inference` entry, mapping `type` to a `provider_type` and\nemitting `${env.<VAR>}` references for secrets (never literal values).\n\nAttributes:\n type: Canonical provider identifier. Vendor-neutral so it survives a\n future backend change; each backend-specific synthesizer maps it to\n its own provider vocabulary.\n api_key_env: Name of the environment variable holding the provider API\n key. Emitted verbatim as `${env.<name>}` so the secret never lands\n on disk resolved.\n allowed_models: Optional allow-list of model identifiers passed through\n to the synthesized provider config.\n extra: Additional provider-config keys merged verbatim into the\n synthesized provider's `config` block — an escape hatch for\n provider-specific knobs not modeled here.",
1709
+
"properties": {
1710
+
"type": {
1711
+
"description": "Canonical, backend-agnostic provider identifier mapped to a Llama Stack provider_type by the synthesizer.",
1712
+
"enum": [
1713
+
"openai",
1714
+
"sentence_transformers",
1715
+
"azure",
1716
+
"vertexai",
1717
+
"watsonx",
1718
+
"vllm_rhaiis",
1719
+
"vllm_rhel_ai"
1720
+
],
1721
+
"title": "Provider type",
1722
+
"type": "string"
1723
+
},
1724
+
"api_key_env": {
1725
+
"type": "string",
1726
+
"nullable": true,
1727
+
"default": null,
1728
+
"description": "Name of the environment variable holding the provider API key. Emitted as a ${env.<name>} reference so the secret is never written to disk in resolved form.",
1729
+
"title": "API key environment variable"
1730
+
},
1731
+
"allowed_models": {
1732
+
"type": "array",
1733
+
"nullable": true,
1734
+
"default": null,
1735
+
"description": "Optional allow-list of model identifiers for this provider.",
1736
+
"title": "Allowed models"
1737
+
},
1738
+
"extra": {
1739
+
"additionalProperties": true,
1740
+
"description": "Additional provider-config keys merged verbatim into the synthesized provider's config block.",
1741
+
"title": "Extra provider config",
1742
+
"type": "object"
1743
+
}
1744
+
},
1745
+
"required": [
1746
+
"type"
1747
+
],
1748
+
"title": "UnifiedInferenceProvider",
1749
+
"type": "object"
1750
+
},
1751
+
"UnifiedLlamaStackConfig": {
1752
+
"additionalProperties": false,
1753
+
"description": "Backend-specific knobs for unified-mode Llama Stack synthesis.\n\nPer Decision S5 of the design spike, backend-agnostic high-level sections\n(inference, ...) live at the configuration root, not here. This block holds\nonly the Llama-Stack-specific synthesis controls: which baseline to start\nfrom, an optional profile file, and a raw native_override escape hatch.\n\nAttributes:\n baseline: Synthesis starting point. \"default\" begins from LCORE's\n built-in baseline (src/data/default_run.yaml); \"empty\" begins from\n an empty dict (used by the migration tool for an exact round-trip).\n Ignored when `profile` is set.\n profile: Optional path to a user-authored run.yaml-shaped file used as\n the synthesis baseline. Relative paths resolve against the directory\n of the loaded lightspeed-stack.yaml.\n native_override: Raw Llama Stack schema deep-merged last (maps merge\n recursively, lists and scalars replace). The escape hatch for\n anything the high-level sections do not express.",
1754
+
"properties": {
1755
+
"baseline": {
1756
+
"default": "default",
1757
+
"description": "Synthesis starting point: 'default' uses LCORE's built-in baseline, 'empty' starts from {}. Ignored when 'profile' is set.",
1758
+
"enum": [
1759
+
"default",
1760
+
"empty"
1761
+
],
1762
+
"title": "Baseline selector",
1763
+
"type": "string"
1764
+
},
1765
+
"profile": {
1766
+
"type": "string",
1767
+
"nullable": true,
1768
+
"default": null,
1769
+
"description": "Path to a run.yaml-shaped baseline file. Relative paths resolve against the directory of the loaded lightspeed-stack.yaml.",
1770
+
"title": "Profile path"
1771
+
},
1772
+
"native_override": {
1773
+
"additionalProperties": true,
1774
+
"description": "Raw Llama Stack schema deep-merged last (maps merge recursively; lists and scalars replace).",
1775
+
"title": "Native override",
1776
+
"type": "object"
1777
+
}
1778
+
},
1779
+
"title": "UnifiedLlamaStackConfig",
1780
+
"type": "object"
1781
+
},
1685
1782
"UserDataCollection": {
1686
1783
"additionalProperties": false,
1687
1784
"description": "User data collection configuration.",
0 commit comments