---
title: GitHub link cards in a thread
type: reference
section: ai-studio
summary: A GitHub repository, issue or pull request link in a message renders as a card with its state and counts. Other GitHub links stay plain text.
applies_to:
  clients: [web]
sources:
  - evolve-front-end/app/[lng]/studio/components/Chat/github-link-cards.tsx
  - evolve-front-end/app/[lng]/studio/utils/github-link-cards.ts
  - evolve-front-end/app/api/studio/links/resolve/route.ts
  - evolve-front-end/components/team-chat/cards/providers/github-card.tsx
  - evolve-front-end/components/team-chat/cards/providers/github-connected-card.tsx
  - evolve-front-end/app/i18n/locales/en/team-chat.json
verified:
  at: 2026-09-04
  env: code
  by: content-lane-ai-studio
ttl_days: 45
related: [ai-studio/attach-a-repository, ai-studio/start-a-conversation]
---

A GitHub link to a repository, an issue or a pull request renders under the message as a card showing its title, state and headline numbers. Every other GitHub address, and every non-GitHub address, stays a plain link.

Cards are resolved for you alone, through your own GitHub connection. Two people reading the same message can see different cards, and someone without a connection sees none of the detail.

## What a card shows

The source line reads **GitHub**, then the kind: **Repository**, **Issue** or **Pull request**, then the state: **Open**, **Closed**, **Merged** or **Draft**.

Below the title come the owner and repository name and the number, then the author, when it was last updated, and for a pull request the branch it comes from and the branch it targets. Counts appear as chips: stars, forks, comments, commits, files changed, lines added and lines removed.

The whole card is a link. Selecting it opens the item on GitHub in a new tab.

## Which links do not get a card

Workflow run, commit, file and release addresses on GitHub are left as plain links in AI Studio. So is every address outside GitHub.

Up to five links in one message get cards. Two spellings of the same item produce one card. A reply that is still streaming gets its cards once it finishes.

## Cards that ask for something

| Card | What it means | What to do |
| --- | --- | --- |
| **Connect GitHub to preview this** | You have no GitHub account connected. | Select **Connect account** and connect one in your profile. |
| **GitHub App installation needed** | The connection exists but is not installed where the item lives. | Select **Reconnect**. |
| **Access restricted** | Your connection cannot read this item. The card deliberately shows no owner, repository or title. | Select **Request access**, or ask the repository's owner. |
| **Preview unavailable** | The lookup failed. | Select **Retry**. |

A failed lookup is not remembered, so reopening the thread tries again.

## Related

- [Attach a repository to a thread](/help/ai-studio/attach-a-repository) — give the model a repository to read, rather than a link.
- [Start a conversation in AI Studio](/help/ai-studio/start-a-conversation) — where links are pasted.
