diff --git a/src/features/AgentSetting/AgentMeta/index.tsx b/src/features/AgentSetting/AgentMeta/index.tsx index 44ed74b6b433..1d92c12eff0a 100644 --- a/src/features/AgentSetting/AgentMeta/index.tsx +++ b/src/features/AgentSetting/AgentMeta/index.tsx @@ -9,6 +9,7 @@ import { memo } from 'react'; import { useTranslation } from 'react-i18next'; import { FORM_STYLE } from '@/const/layoutTokens'; +import { featureFlagsSelectors, useServerConfigStore } from '@/store/serverConfig'; import { useStore } from '../store'; import { SessionLoadingState } from '../store/initialState'; @@ -126,7 +127,17 @@ const AgentMeta = memo(() => { title: t('settingAgent.title'), }; - return
; + const { isAgentEditable } = useServerConfigStore(featureFlagsSelectors); + + return ( + + ); }); export default AgentMeta;