🪢 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
import { useHasEntitlement } from "@/src/features/entitlements/hooks";
import { api } from "@/src/utils/api";
export const useUiCustomization = () => {
const hasEntitlement = useHasEntitlement("self-host-ui-customization");
const customization = api.uiCustomization.get.useQuery(undefined, {
enabled: hasEntitlement,
refetchOnMount: false,
refetchOnWindowFocus: false,
refetchOnReconnect: false,
});
if (!hasEntitlement) return null;
return customization.data ?? null;
};