🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
fix(web): include today in Prompts table observation count window (#13415)
Jannik Maierhöfer8dd5d0a08814
diff --git a/web/src/features/prompts/components/prompts-table.tsx b/web/src/features/prompts/components/prompts-table.tsxindex d7b5cd9f31..4f567676d3 100644--- a/web/src/features/prompts/components/prompts-table.tsx+++ b/web/src/features/prompts/components/prompts-table.tsx@@ -70,9 +70,7 @@ export function PromptTable() {fromTimestamp.setDate(fromTimestamp.getDate() - 7);fromTimestamp.setHours(0, 0, 0, 0);- const toTimestamp = new Date(today);- toTimestamp.setHours(0, 0, 0, 0);- toTimestamp.setMilliseconds(toTimestamp.getMilliseconds() - 1);+ const toTimestamp = today;return { fromTimestamp, toTimestamp };}, []);