diff --git a/packages/ui/src/components/chat/composer/ui/ComposerAttachmentControls.tsx b/packages/ui/src/components/chat/composer/ui/ComposerAttachmentControls.tsx
index 85788b5b..2387ccb9 100644
--- a/packages/ui/src/components/chat/composer/ui/ComposerAttachmentControls.tsx
+++ b/packages/ui/src/components/chat/composer/ui/ComposerAttachmentControls.tsx
@@ -18,6 +18,7 @@ import {
} from '@/components/ui/dropdown-menu';
import { useI18n } from '@/lib/i18n';
import { cn } from '@/lib/utils';
+import type { GitProvider } from '@/lib/gitProvider';
type ComposerAttachmentControlsProps = {
isVSCode: boolean;
@@ -26,6 +27,8 @@ type ComposerAttachmentControlsProps = {
handlePickLocalFiles: () => void;
openIssuePicker: () => void;
openPrPicker: () => void;
+ /** Only shows the GitHub issue/PR attach actions when the repo is GitHub. */
+ gitProvider?: GitProvider | null;
onOpenSettings?: () => void;
onMenuOpenChange?: (open: boolean) => void;
/** Mobile: open the attachment bottom sheet instead of the dropdown menu. */
@@ -41,6 +44,7 @@ export const ComposerAttachmentControls = React.memo(function ComposerAttachment
handlePickLocalFiles,
openIssuePicker,
openPrPicker,
+ gitProvider,
onOpenSettings,
} = props;
@@ -98,22 +102,26 @@ export const ComposerAttachmentControls = React.memo(function ComposerAttachment