Screenshot of an attachment button in Copilot chat that reads "Convert to file" followed by some arbitrary text in the input.

Working with Copilot Chat on GitHub just got more convenient with enhanced attachment capabilities and expanded context limits. You can now convert large text blocks into attachments, attach multiple images, preview HTML with external resources, and store twice as much context in your Copilot Spaces.

What’s new

  • Paste large text blocks and choose to convert them into attachments, keeping your chat clean and organized while maintaining control.
  • Attach up to four images at once to better illustrate comparisons, workflows, or complex visual concepts.
  • Preview HTML files with external resources including JavaScript libraries like React, images, and other dependencies.
  • Store twice as much context in Copilot Spaces, making it easier to keep all your project information in one place.

Your feedback drives our improvements! Let us know what you think using the in-product feedback option or share your thoughts in the GitHub Community.