Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

Remove Header Component from AI Chat Feature

Salman-Ahamedd41fc32a3b5c
diff --git a/packages/app/src/react/features/ai-chat/components/header/index.ts b/packages/app/src/react/features/ai-chat/components/header/index.ts
index 1b8e01c4..a7981840 100644
--- a/packages/app/src/react/features/ai-chat/components/header/index.ts
+++ b/packages/app/src/react/features/ai-chat/components/header/index.ts
@@ -1,2 +1,2 @@
-export * from './header';
+export * from './main';
export * from './skeleton';
diff --git a/packages/app/src/react/features/ai-chat/components/header/header.tsx b/packages/app/src/react/features/ai-chat/components/header/main.tsx
similarity index 96%
rename from packages/app/src/react/features/ai-chat/components/header/header.tsx
rename to packages/app/src/react/features/ai-chat/components/header/main.tsx
index 1a5a5ae6..4d0b40f9 100644
--- a/packages/app/src/react/features/ai-chat/components/header/header.tsx
+++ b/packages/app/src/react/features/ai-chat/components/header/main.tsx
@@ -1,19 +1,18 @@
-import { Tooltip, TooltipContent, TooltipTrigger } from '@src/react/shared/components/ui/tooltip';
import { useQuery } from '@tanstack/react-query';
import { FC, useCallback, useEffect, useRef, useState } from 'react';
import { FaRegPenToSquare } from 'react-icons/fa6';
import { IoChevronDown } from 'react-icons/io5';
import { Link } from 'react-router-dom';
-import { Skeleton } from '@react/features/ai-chat/components';
+import { CloseIcon, Skeleton } from '@react/features/ai-chat/components';
import { DEFAULT_AVATAR_URL } from '@react/features/ai-chat/constants';
import { useChatStores } from '@react/features/ai-chat/hooks';
-import { CloseIcon } from '@src/react/features/ai-chat/components/common/icons';
-import { cn } from '@src/react/shared/utils/general';
-import { Observability } from '@src/shared/observability';
-import { EVENTS } from '@src/shared/posthog/constants/events';
-import { LLMRegistry } from '@src/shared/services/LLMRegistry.service';
-import { llmModelsStore } from '@src/shared/state_stores/llm-models';
+import { Tooltip, TooltipContent, TooltipTrigger } from '@react/shared/components/ui/tooltip';
+import { cn } from '@react/shared/utils/general';
+import { Observability } from '@shared/observability';
+import { EVENTS } from '@shared/posthog/constants/events';
+import { LLMRegistry } from '@shared/services/LLMRegistry.service';
+import { llmModelsStore } from '@shared/state_stores/llm-models';
// #region Provider Icon Component
interface ProviderIconProps {