API Reference
reasoningProfileFor
function reasoningProfileFor(modelId): ReasoningProfile | undefined;Defined in: providers/reasoning-kwargs.ts:313
Look up the ReasoningProfile for a model id, or undefined when no
family rule matches (unknown model — treat as non-reasoning).
Parameters
| Parameter | Type | Description |
|---|---|---|
modelId | string | The model id, e.g. "zai-org/GLM-5.1". |
Returns
ReasoningProfile | undefined
The matched profile, or undefined.