{"record":{"id":"94ca4fec7d01a46c","repo":"CopilotKit/CopilotKit","slug":"copilotkit-warning-sidebar-feature-is-not-lic","errorCode":null,"errorMessage":"[CopilotKit] Warning: \"sidebar\" feature is not licensed. Visit copilotkit.ai/pricing","messagePattern":"\\[CopilotKit\\] Warning: \"sidebar\" feature is not licensed\\. Visit copilotkit\\.ai/pricing","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/react-core/src/v2/components/chat/CopilotSidebar.tsx","lineNumber":33,"sourceCode":"  defaultOpen?: boolean;\n  width?: number | string;\n  position?: CopilotSidebarViewProps[\"position\"];\n};\n\nexport function CopilotSidebar({\n  header,\n  toggleButton,\n  defaultOpen,\n  width,\n  position,\n  ...chatProps\n}: CopilotSidebarProps) {\n  const { checkFeature } = useLicenseContext();\n  const isSidebarLicensed = checkFeature(\"sidebar\");\n\n  useEffect(() => {\n    if (!isSidebarLicensed) {\n      console.warn(\n        '[CopilotKit] Warning: \"sidebar\" feature is not licensed. Visit copilotkit.ai/pricing',\n      );\n    }\n  }, [isSidebarLicensed]);\n\n  const SidebarViewOverride = useMemo(() => {\n    const Component: React.FC<CopilotChatViewProps> = (viewProps) => {\n      const {\n        header: viewHeader,\n        toggleButton: viewToggleButton,\n        width: viewWidth,\n        defaultOpen: viewDefaultOpen,\n        position: viewPosition,\n        ...restProps\n      } = viewProps as CopilotSidebarViewProps;\n\n      return (\n        <CopilotSidebarView","sourceCodeStart":15,"sourceCodeEnd":51,"githubUrl":"https://github.com/CopilotKit/CopilotKit/blob/68fbe97d87420bd84e8196965c71bd6e394a3f7a/packages/react-core/src/v2/components/chat/CopilotSidebar.tsx#L15-L51","documentation":"Error \"[CopilotKit] Warning: \"sidebar\" feature is not licensed. Visit copilotkit.ai/pricing\" thrown in CopilotKit/CopilotKit.","triggerScenarios":"Thrown at packages/react-core/src/v2/components/chat/CopilotSidebar.tsx:33 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"68fbe97d87420bd84e8196965c71bd6e394a3f7a","analyzedAt":"2026-08-27T04:03:26.537Z","schemaVersion":2},"datasetVersion":"2026-08-27T08:17:20.692Z"}