diff --git a/src/lib/components/chat/Messages/CitationsModal.svelte b/src/lib/components/chat/Messages/CitationsModal.svelte index a2bca2ded..88d6c7f6e 100644 --- a/src/lib/components/chat/Messages/CitationsModal.svelte +++ b/src/lib/components/chat/Messages/CitationsModal.svelte @@ -15,7 +15,7 @@ function calculatePercentage(distance: number) { if (distance < 0) return 0; if (distance > 1) return 100; - return Math.round((distance * 10000) / 100; + return Math.round(distance * 10000) / 100; } function getRelevanceColor(percentage: number) {