diff --git a/apps/desktop/layer/renderer/src/modules/ai-chat/components/context-bar/blocks/ContextBlock.tsx b/apps/desktop/layer/renderer/src/modules/ai-chat/components/context-bar/blocks/ContextBlock.tsx
index 3790126a4..2336019d2 100644
--- a/apps/desktop/layer/renderer/src/modules/ai-chat/components/context-bar/blocks/ContextBlock.tsx
+++ b/apps/desktop/layer/renderer/src/modules/ai-chat/components/context-bar/blocks/ContextBlock.tsx
@@ -17,13 +17,14 @@ const BlockContainer: FC<{
disabled?: boolean
onDisableClick?: () => void
content: ReactNode
-}> = memo(({ icon, label, onRemove, content, disabled, onDisableClick }) => {
+ readOnly?: boolean
+}> = memo(({ icon, label, onRemove, content, disabled, onDisableClick, readOnly }) => {
const isStringContent = typeof content === "string"
return (
@@ -54,7 +56,7 @@ const BlockContainer: FC<{
- {onRemove && !disabled && (
+ {onRemove && !disabled && !readOnly && (