Open Agent Loops
API Reference

reasoningProfileFor

@open-agent-loops/core


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

ParameterTypeDescription
modelIdstringThe model id, e.g. "zai-org/GLM-5.1".

Returns

ReasoningProfile | undefined

The matched profile, or undefined.

On this page