Returns the capability and requirement flags supported by the
current provider.
Syntax
object.ProviderFlags
Remarks
The ProviderFlags property returns the capability flags
associated with the current provider. These flags describe the features
and requirements supported by the provider, such as whether authentication
is required or if model enumeration is available. The flags are
informational only and the flags assigned to a provider cannot be
changed by the application.
| Constant |
Value |
Description |
| llmProviderFlagNone |
0 |
No provider requirements specified. |
| llmProviderFlagRequireTls |
&H1 |
Requires a secure TLS (HTTPS) connection. |
| llmProviderFlagRequireAuth |
&H2 |
Requires authentication (e.g., API key or token). |
| llmProviderFlagApiVersion |
&H4 |
Requires an explicit API version parameter. |
| llmProviderFlagLocal |
&H8 |
Locally hosted provider such as LM Studio or Ollama. |
| llmProviderFlagModelList |
&H10 |
Supports enumerating available models. |
| llmProviderFlagModelInfo |
&H20 |
Supports retrieving detailed model information. |
Changing the value of the Provider or ProviderName
property changes the provider associated with the current session
and may change the flags returned by this property.
Data Type
Integer (Int32)
See Also
ApiKey Property,
ApiVersion Property,
IsLocal Property,
Provider Property,
ProviderName Property,
Connect Method,
GetProvider Method
|