OpenAILanguageModelCapabilities
Namespace: Vercel.AI.OpenAI
public sealed class OpenAILanguageModelCapabilitiesRequest limits derived from an OpenAI model id.
Inheritance: object
Properties
Section titled “Properties”IsReasoningModel
Section titled “IsReasoningModel”public bool IsReasoningModel { get; }Whether sampling parameters such as temperature are limited.
Value: bool
SupportedReasoningEfforts
Section titled “SupportedReasoningEfforts”public IReadOnlyList<string>? SupportedReasoningEfforts { get; }Allowed reasoning efforts. Null when the family does not constrain them.
Value: IReadOnlyList<string>
SupportsAsyncToolCalling
Section titled “SupportsAsyncToolCalling”public bool SupportsAsyncToolCalling { get; }Whether async tool calling is accepted.
Value: bool
SupportsConfigurationUpdate
Section titled “SupportsConfigurationUpdate”public bool SupportsConfigurationUpdate { get; }Whether GPT-6 configuration updates are accepted.
Value: bool
SupportsFlexProcessing
Section titled “SupportsFlexProcessing”public bool SupportsFlexProcessing { get; }Whether service_tier: flex is accepted.
Value: bool
SupportsNonReasoningParameters
Section titled “SupportsNonReasoningParameters”public bool SupportsNonReasoningParameters { get; }Whether temperature and top_p stay when reasoning effort is none.
Value: bool
SupportsPriorityProcessing
Section titled “SupportsPriorityProcessing”public bool SupportsPriorityProcessing { get; }Whether service_tier priority or fast is accepted.
Value: bool
SystemMessageMode
Section titled “SystemMessageMode”public string SystemMessageMode { get; }system, developer, or remove.
Value: string
Methods
Section titled “Methods”ForModel(string)
Section titled “ForModel(string)”public static OpenAILanguageModelCapabilities ForModel(string modelId)Classifies <code class=“paramref”>modelId</code> the way the OpenAI provider does.
Parameters
| Name | Type | Description |
|---|---|---|
modelId |
string |
Returns: OpenAILanguageModelCapabilities
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product