Skip to content

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

fix(ui): model based eval template builder

Marc Klingen747b7e9b7f77
diff --git a/web/src/features/filters/components/filter-builder.tsx b/web/src/features/filters/components/filter-builder.tsx
index 9c574b172e..5047369e32 100644
--- a/web/src/features/filters/components/filter-builder.tsx
+++ b/web/src/features/filters/components/filter-builder.tsx
@@ -274,10 +274,11 @@ function FilterBuilderForm({
column: col?.name,
type: col?.type,
operator:
- col?.type !== undefined &&
- filterOperators[col.type]?.length > 0
- ? (filterOperators[col.type][0] as any) // operator matches type
- : undefined,
+ // does not work as expected on eval-template form when embedded into form via InlineFilterBuilder
+ // col?.type !== undefined &&
+ // filterOperators[col.type]?.length > 0
+ // ? (filterOperators[col.type][0] as any) // operator matches type
+ undefined,
value: undefined,
key: undefined,
},