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.
JavaScript a2aagentic-aiai-agentsdevtoolsmcp-clientn8n-alternativeno-codeopen-sourceorchestrationsmythosvisual-builder
remove banner
Ahmed Essam9198b6066030
diff --git a/packages/app/src/react/features/agents/components/AgentsBanner.tsx b/packages/app/src/react/features/agents/components/AgentsBanner.tsxdeleted file mode 100644index 537c65fd..00000000--- a/packages/app/src/react/features/agents/components/AgentsBanner.tsx+++ /dev/null@@ -1,70 +0,0 @@-import React from 'react';--const GPT5_BLOG_URL =- 'https://smythos.com/developers/ai-models/gpt-5-did-openai-rebuild-intelligence-with-routing-and-reasoning/';--/**- * Small clickable banner for the /agents page- * Matches width of the "What agent can I help you build?" section- */-interface AgentsBannerProps {- onClose: () => void;-}--export function AgentsBanner({ onClose }: AgentsBannerProps) {- const handleCloseClick: React.MouseEventHandler<HTMLButtonElement> = (e) => {- e.preventDefault();- e.stopPropagation();- onClose();- };-- return (- <div className="w-full px-0 md:w-[80%] max-w-[808px] mx-auto mt-4 mb-8">- <a- href={GPT5_BLOG_URL}- target="_blank"- rel="noopener noreferrer"- className="block no-underline"- aria-label="Learn about using GPT-5 models in your agents and LLM components"- >- <div className="w-full p-px relative bg-gray-50 rounded-lg outline outline-1 outline-offset-[-1px] outline-gray-300">- <div className="p-1 flex flex-col gap-1">- <div className="p-4 bg-gradient-to-b from-white to-blue-100/80 rounded flex flex-col gap-1.5">- <div className="flex justify-between items-center gap-4">- <div className="px-2 py-0.5 bg-indigo-100 rounded-full flex justify-center items-center gap-1 overflow-hidden">- <img src="/img/icons/stars.svg" alt="New" className="w-5 h-5" />- <div className="text-blue-500 text-base leading-normal">New</div>- </div>-- <div className="flex-1 text-center text-slate-900 text-lg font-medium leading-none">- Use the GPT-5 Models in your Agents and LLM Components- </div>-- <button- type="button"- onClick={handleCloseClick}- aria-label="Dismiss banner"- className="flex items-center justify-center w-6 h-6 rounded hover:bg-white/60"- >- <img- src="/image/icons/close.svg"- onError={(e) => {- const img = e.currentTarget as HTMLImageElement;- if (!img.src.includes('/img/icons/close.svg')) {- img.src = '/img/icons/close.svg';- }- }}- alt="Close"- className="w-5 h-5"- />- </button>- </div>- </div>- </div>- </div>- </a>- </div>- );-}--export default AgentsBanner;diff --git a/packages/app/src/react/features/agents/components/GenerateAgentForm.tsx b/packages/app/src/react/features/agents/components/GenerateAgentForm.tsxindex 20fb1552..833d4cc8 100644--- a/packages/app/src/react/features/agents/components/GenerateAgentForm.tsx+++ b/packages/app/src/react/features/agents/components/GenerateAgentForm.tsx@@ -11,7 +11,6 @@ import { GenerateAgentFormData } from '../types/agents.types';interface GenerateAgentFormProps {onSubmit: (data: GenerateAgentFormData) => void;canEditAgents: boolean;- isBannerVisible?: boolean;}/**@@ -20,7 +19,6 @@ interface GenerateAgentFormProps {export function GenerateAgentForm({onSubmit,canEditAgents,- isBannerVisible = false,}: GenerateAgentFormProps) {const [initialWeaverMessage, setInitialWeaverMessage] = useState<string>('');const [isFileUploading, setIsFileUploading] = useState(false);@@ -79,7 +77,7 @@ export function GenerateAgentForm({if (e.key === 'Enter' && !e.shiftKey) {e.preventDefault();if (!canEditAgents) {- toast.error("Your current access level doesn't include this feature.");+ toast.error('Your current access level doesn\'t include this feature.');return;}handleSubmit();@@ -114,8 +112,8 @@ export function GenerateAgentForm({return (<divclassName={classNames(- 'w-full px-0 md:w-[80%] max-w-[808px] mx-auto pt-6 rounded-lg',- isBannerVisible ? 'mb-1' : 'mb-20',+ 'w-full px-0 md:w-[80%] max-w-[808px] mx-auto pt-6 rounded-lg mb-20',+)}><div className="flex items-center justify-center gap-2">diff --git a/packages/app/src/react/features/agents/components/index.ts b/packages/app/src/react/features/agents/components/index.tsindex 79048d8a..1246af5c 100644--- a/packages/app/src/react/features/agents/components/index.ts+++ b/packages/app/src/react/features/agents/components/index.ts@@ -3,4 +3,3 @@ export { AgentsHeader } from './AgentsHeader';export { GenerateAgentForm } from './GenerateAgentForm';export { SkeletonLoader } from './SkeletonLoader';export { TemplatesSection } from './TemplatesSection';-export { AgentsBanner } from './AgentsBanner';diff --git a/packages/app/src/react/features/agents/pages/AgentsPage.tsx b/packages/app/src/react/features/agents/pages/AgentsPage.tsxindex 203a5fc3..c10f8fec 100644--- a/packages/app/src/react/features/agents/pages/AgentsPage.tsx+++ b/packages/app/src/react/features/agents/pages/AgentsPage.tsx@@ -1,9 +1,8 @@import {- AgentsBanner,AgentsGrid,AgentsHeader,GenerateAgentForm,- TemplatesSection,+ TemplatesSection} from '@react/features/agents/components';import ModelAgentsSection from '@react/features/agents/components/model-agents-section';import { useOnboarding } from '@react/features/agents/contexts/OnboardingContext';@@ -42,7 +41,6 @@ function AgentsPage() {const saveUserSettingsMutation = useMutateOnboardingData();const { isOnboardingDismissed, setOnboardingDismissed } = useOnboarding();const [showUpsellModal, setShowUpsellModal] = useState(false);- const [isBannerVisible, setIsBannerVisible] = useState(true);// Authentication and permissionsconst { getPageAccess, userInfo, hasReadOnlyPageAccess } = useAuthCtx();@@ -198,12 +196,9 @@ function AgentsPage() {<GenerateAgentFormonSubmit={handleGenerateAgentSubmit}canEditAgents={canEditAgents}- isBannerVisible={isBannerVisible}/></FeatureFlagged>- {/* GPT-5 Promo Banner */}- {isBannerVisible && <AgentsBanner onClose={() => setIsBannerVisible(false)} />}{/* Onboarding Tasks Section */}{!isOnboardingDismissed && <OnboardingTasks onDismiss={handleOnboardingDismiss} />}