diff --git a/web/app/components/app/configuration/base/feature-panel/index.tsx b/web/app/components/app/configuration/base/feature-panel/index.tsx index 017e3bf5fd..dc5fe87ca3 100644 --- a/web/app/components/app/configuration/base/feature-panel/index.tsx +++ b/web/app/components/app/configuration/base/feature-panel/index.tsx @@ -3,7 +3,7 @@ import type { FC, ReactNode } from 'react' import React from 'react' import cn from '@/utils/classnames' -export interface IFeaturePanelProps { +export type IFeaturePanelProps = { className?: string headerIcon?: ReactNode title: ReactNode @@ -23,7 +23,7 @@ const FeaturePanel: FC = ({ children, }) => { return ( -
+
{/* Header */}
diff --git a/web/app/components/app/configuration/config/agent/agent-tools/index.tsx b/web/app/components/app/configuration/config/agent/agent-tools/index.tsx index 57d2e5f632..d83fcb3637 100644 --- a/web/app/components/app/configuration/config/agent/agent-tools/index.tsx +++ b/web/app/components/app/configuration/config/agent/agent-tools/index.tsx @@ -92,6 +92,7 @@ const AgentTools: FC = () => { tool_name: tool.tool_name, tool_label: tool.tool_label, tool_parameters: tool.params, + notAuthor: !(tool as ToolDefaultValue & { is_team_authorization: boolean }).is_team_authorization, enabled: true, }) }) @@ -101,7 +102,7 @@ const AgentTools: FC = () => { return ( <>