BudgetSelector
Compact budget fields matching the advanced chat settings surface. Callers may relabel the token field when their payload contract uses a different budgeted unit, such as conversation turns.
Import
Section titled “Import”import { BudgetSelector } from "@flanksource/clicky-ui/chat";The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.
| Prop | Type | Default | Description |
|---|---|---|---|
budget |
ChatBudgetConfig |
— | — |
className |
string |
— | — |
costLabel |
string |
Max cost |
— |
disabled |
boolean |
false |
— |
maxTokensLabel |
string |
Max tokens |
— |
maxTokensStep |
number |
1 |
— |
onBudgetChange* |
(…) => void |
— | — |