Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(filter): cost steps default to decimals (#10824)

Nimarc43245075cd8
diff --git a/web/src/components/table/data-table-controls.tsx b/web/src/components/table/data-table-controls.tsx
index ef521e3ef0..f533b685a8 100644
--- a/web/src/components/table/data-table-controls.tsx
+++ b/web/src/components/table/data-table-controls.tsx
@@ -816,7 +816,7 @@ export function NumericFacet({
<Slider
min={min}
max={max}
- step={1}
+ step={max - min <= 1000 ? 0.01 : 1}
value={localValue}
onValueChange={handleSliderChange}
/>