diff --git a/src/pages/admin/bots/[bot_id]/(partials)/composer-add-tool-modal.tsx b/src/pages/admin/bots/[bot_id]/(partials)/composer-add-tool-modal.tsx index 217aad8..a8adeb2 100644 --- a/src/pages/admin/bots/[bot_id]/(partials)/composer-add-tool-modal.tsx +++ b/src/pages/admin/bots/[bot_id]/(partials)/composer-add-tool-modal.tsx @@ -19,7 +19,12 @@ type Props = { * The "Add" chip under the composer: picks an MCP server or tool to give * the bot, everywhere it works. */ -export default function ComposerAddToolModal({ bot_name, addable, loading, onAdd }: Props) { +export default function ComposerAddToolModal({ + bot_name, + addable, + loading, + onAdd, +}: Props) { const [open, setOpen] = useState(false); if (!addable.length) return null; @@ -46,7 +51,9 @@ export default function ComposerAddToolModal({ bot_name, addable, loading, onAdd > -

Add a tool

+

+ Add a tool +

{`${bot_name} can use it everywhere it works, for everyone it works for.`} diff --git a/src/pages/admin/bots/[bot_id]/(partials)/composer-tools.tsx b/src/pages/admin/bots/[bot_id]/(partials)/composer-tools.tsx index 88e7f74..14e8a46 100644 --- a/src/pages/admin/bots/[bot_id]/(partials)/composer-tools.tsx +++ b/src/pages/admin/bots/[bot_id]/(partials)/composer-tools.tsx @@ -62,13 +62,6 @@ export default function ComposerTools({ bot, workspace_id, initial }: Props) { /> ))} - {has_tools ? ( - - - - ) : null} - - {extensions.can_manage ? ( ) : null} + + {has_tools ? ( + + + + ) : null} + + + {extensions.status?.error ? (