Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

supportedReasoningLevels.md

23 lines527 Bytes

1---
2id: supportedReasoningLevels
3title: supportedReasoningLevels
4---
5​
6```ts
7function supportedReasoningLevels(reasoning): readonly ReasoningLevel[];
8```
9​
10Defined in: packages/ai/src/reasoning.ts:117
11​
12The levels a model supports, from least to most thinking: the levels in its
13data. A model that does not reason, or has no data, supports only `off`.
14​
15## Parameters
16​
17### reasoning
18​
19[`ModelReasoning`](../type-aliases/ModelReasoning.md) \| `undefined`
20​
21## Returns
22​
23readonly [`ReasoningLevel`](../type-aliases/ReasoningLevel.md)[]