Skip to content

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

fix(session): guard byIdWithScoresFromEvents query to stop spurious "sessionId is required" toast (LFE-10667) (#14769)

Nikita Kabardin744523638e51
diff --git a/web/src/components/session/index.tsx b/web/src/components/session/index.tsx
index 4efc769c59..d6bef0793f 100644
--- a/web/src/components/session/index.tsx
+++ b/web/src/components/session/index.tsx
@@ -528,6 +528,7 @@ export const SessionEventsPage: React.FC<{
projectId: projectId,
},
{
+ enabled: !!projectId && !!sessionId,
retry(failureCount, error) {
if (
error.data?.code === "UNAUTHORIZED" ||