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

ReasoningCapability.md

30 lines505 Bytes

1---
2id: ReasoningCapability
3title: ReasoningCapability
4---
5​
6Defined in: packages/ai/src/reasoning.ts:36
7​
8What a model supports, at the type level. Adapters declare it per model in
9`'~types'.reasoning`. `levels` is a union of the model's levels. `budget`
10says whether the model takes a thinking token budget.
11​
12## Properties
13​
14### budget
15​
16```ts
17budget: boolean;
18```
19​
20Defined in: packages/ai/src/reasoning.ts:38
21​
22***
23​
24### levels
25​
26```ts
27levels: ReasoningLevel;
28```
29​
30Defined in: packages/ai/src/reasoning.ts:37