🪢 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
feat(cloud): include link to chatbot demo in staging
Marc Klingene106fef92320
diff --git a/src/components/layouts/layout.tsx b/src/components/layouts/layout.tsxindex 21f215c578..7a032c5b44 100644--- a/src/components/layouts/layout.tsx+++ b/src/components/layouts/layout.tsx@@ -536,8 +536,8 @@ export default function Layout(props: PropsWithChildren) {<div className="xl:pl-72">{env.NEXT_PUBLIC_DEMO_PROJECT_ID &&projectId === env.NEXT_PUBLIC_DEMO_PROJECT_ID &&- env.NEXT_PUBLIC_LANGFUSE_CLOUD_REGION &&- env.NEXT_PUBLIC_LANGFUSE_CLOUD_REGION !== "STAGING" &&+ (env.NEXT_PUBLIC_LANGFUSE_CLOUD_REGION === "STAGING" ||+ env.NEXT_PUBLIC_LANGFUSE_CLOUD_REGION === "EU") &&!session.data?.user?.email?.endsWith("@langfuse.com") ? (<div className="flex w-full items-center border-b border-yellow-500 bg-yellow-100 px-4 py-2 xl:sticky xl:top-0 xl:z-40"><div className="flex flex-1 flex-wrap gap-1">@@ -550,10 +550,16 @@ export default function Layout(props: PropsWithChildren) {<Button size="sm" asChild className="ml-2"><Link- href="https://langfuse.com/docs/qa-chatbot"+ href={+ env.NEXT_PUBLIC_LANGFUSE_CLOUD_REGION === "EU"+ ? "https://langfuse.com/docs/qa-chatbot"+ : "https://docs-staging.langfuse.com/docs/qa-chatbot"+ }target="_blank">- Q&A Chatbot ↗+ {env.NEXT_PUBLIC_LANGFUSE_CLOUD_REGION === "EU"+ ? "Q&A Chatbot ↗"+ : "Q&A Chatbot (staging) ↗"}</Link></Button></div>