terraform-provider-onyx/docs/data-sources/llm_providers.md
All configured LLM providers plus the deployment default models. Secret fields (api_key, custom_config) are not exposed.
data "onyx_llm_providers" "all" {}
output "default_model" {
value = data.onyx_llm_providers.all.default_text
}
default_chat_naming (Attributes) The deployment default chat auto-naming model, or null if unset. (see below for nested schema)default_text (Attributes) The deployment default text model, or null if unset. (see below for nested schema)default_vision (Attributes) The deployment default vision model, or null if unset. (see below for nested schema)providers (Attributes List) (see below for nested schema)<a id="nestedatt--default_chat_naming"></a>
default_chat_namingRead-Only:
model_name (String)provider_id (String)<a id="nestedatt--default_text"></a>
default_textRead-Only:
model_name (String)provider_id (String)<a id="nestedatt--default_vision"></a>
default_visionRead-Only:
model_name (String)provider_id (String)<a id="nestedatt--providers"></a>
providersRead-Only:
api_base (String)api_version (String)deployment_name (String)id (String)is_auto_mode (Boolean)is_public (Boolean)model_names (Set of String)name (String)provider_type (String)