🪢 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
bug: UI prompt edit changes go away when tab switching (#3827)
Marc Klingen63fa223e543d
diff --git a/web/src/features/prompts/components/prompt-new.tsx b/web/src/features/prompts/components/prompt-new.tsxindex 37aefa8f35..6776877aa6 100644--- a/web/src/features/prompts/components/prompt-new.tsx+++ b/web/src/features/prompts/components/prompt-new.tsx@@ -14,7 +14,11 @@ export const NewPrompt = () => {projectId: projectId as string, // Typecast as query is enabled only when projectId is presentid: initialPromptId ?? "",},- { enabled: Boolean(initialPromptId && projectId) },+ {+ enabled: Boolean(initialPromptId && projectId),+ refetchOnWindowFocus: false,+ refetchOnReconnect: false,+ },);if (isInitialLoading) {