🪢 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(ui): add cloudregion to project/org information in settings (#9600)
Marc Klingen2b6420b78d70
diff --git a/web/src/pages/organization/[organizationId]/settings/index.tsx b/web/src/pages/organization/[organizationId]/settings/index.tsxindex f3971e2d58..3b0fb2edfe 100644--- a/web/src/pages/organization/[organizationId]/settings/index.tsx+++ b/web/src/pages/organization/[organizationId]/settings/index.tsx@@ -17,6 +17,7 @@ import { useQueryProjectOrOrganization } from "@/src/features/projects/hooks";import { ApiKeyList } from "@/src/features/public-api/components/ApiKeyList";import AIFeatureSwitch from "@/src/features/organizations/components/AIFeatureSwitch";import { useIsCloudBillingAvailable } from "@/src/ee/features/billing/utils/isCloudBilling";+import { env } from "@/src/env.mjs";type OrganizationSettingsPage = {title: string;@@ -69,6 +70,9 @@ export const getOrganizationSettingsPages = ({name: organization.name,id: organization.id,...organization.metadata,+ ...(env.NEXT_PUBLIC_LANGFUSE_CLOUD_REGION && {+ cloudRegion: env.NEXT_PUBLIC_LANGFUSE_CLOUD_REGION,+ }),}}/></div>diff --git a/web/src/pages/project/[projectId]/settings/index.tsx b/web/src/pages/project/[projectId]/settings/index.tsxindex 35cd869ca8..b9630ff2f4 100644--- a/web/src/pages/project/[projectId]/settings/index.tsx+++ b/web/src/pages/project/[projectId]/settings/index.tsx@@ -27,6 +27,7 @@ import ContainerPage from "@/src/components/layouts/container-page";import ProtectedLabelsSettings from "@/src/features/prompts/components/ProtectedLabelsSettings";import { Slack } from "lucide-react";import { ScoreConfigSettings } from "@/src/features/score-configs/components/ScoreConfigSettings";+import { env } from "@/src/env.mjs";type ProjectSettingsPage = {title: string;@@ -97,6 +98,9 @@ export const getProjectSettingsPages = ({id: organization.id,...organization.metadata,},+ ...(env.NEXT_PUBLIC_LANGFUSE_CLOUD_REGION && {+ cloudRegion: env.NEXT_PUBLIC_LANGFUSE_CLOUD_REGION,+ }),}}/></div>