Skip to content

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

fix(ui-annoation): bug when re-submitting score comments on categorical scores (#5045)

marliessophieb36ea7431439
diff --git a/web/src/features/scores/components/AnnotateDrawerContent.tsx b/web/src/features/scores/components/AnnotateDrawerContent.tsx
index 11b6fb3f2d..41f2e93a14 100644
--- a/web/src/features/scores/components/AnnotateDrawerContent.tsx
+++ b/web/src/features/scores/components/AnnotateDrawerContent.tsx
@@ -481,6 +481,7 @@ export function AnnotateDrawerContent({
...score,
scoreId: createdScore.id,
value: createdScore.value,
+ stringValue: createdScore.stringValue ?? undefined,
});
}
}