@@ -7,6 +7,7 @@ import { useSession } from '@/lib/auth/auth-client'
77import { AdminSkeleton } from '@/app/workspace/[workspaceId]/settings/components/admin/admin-skeleton'
88import { ApiKeysSkeleton } from '@/app/workspace/[workspaceId]/settings/components/api-keys/api-key-skeleton'
99import { BYOKSkeleton } from '@/app/workspace/[workspaceId]/settings/components/byok/byok-skeleton'
10+ import { CopilotSkeleton } from '@/app/workspace/[workspaceId]/settings/components/copilot/copilot-skeleton'
1011import { CredentialSetsSkeleton } from '@/app/workspace/[workspaceId]/settings/components/credential-sets/credential-sets-skeleton'
1112import { CredentialsSkeleton } from '@/app/workspace/[workspaceId]/settings/components/credentials/credential-skeleton'
1213import { CustomToolsSkeleton } from '@/app/workspace/[workspaceId]/settings/components/custom-tools/custom-tool-skeleton'
@@ -95,6 +96,13 @@ const BYOK = dynamic(
9596 ( ) => import ( '@/app/workspace/[workspaceId]/settings/components/byok/byok' ) . then ( ( m ) => m . BYOK ) ,
9697 { loading : ( ) => < BYOKSkeleton /> }
9798)
99+ const Copilot = dynamic (
100+ ( ) =>
101+ import ( '@/app/workspace/[workspaceId]/settings/components/copilot/copilot' ) . then (
102+ ( m ) => m . Copilot
103+ ) ,
104+ { loading : ( ) => < CopilotSkeleton /> }
105+ )
98106const MCP = dynamic (
99107 ( ) => import ( '@/app/workspace/[workspaceId]/settings/components/mcp/mcp' ) . then ( ( m ) => m . MCP ) ,
100108 { loading : ( ) => < McpSkeleton /> }
@@ -177,6 +185,7 @@ export function SettingsPage({ section }: SettingsPageProps) {
177185 { isBillingEnabled && effectiveSection === 'team' && < TeamManagement /> }
178186 { effectiveSection === 'sso' && < SSO /> }
179187 { effectiveSection === 'byok' && < BYOK /> }
188+ { effectiveSection === 'copilot' && < Copilot /> }
180189 { effectiveSection === 'mcp' && < MCP initialServerId = { mcpServerId } /> }
181190 { effectiveSection === 'custom-tools' && < CustomTools /> }
182191 { effectiveSection === 'skills' && < Skills /> }
0 commit comments