- Course
Token Management and Memory in GitHub Copilot
Manage context, tokens, and memory in the GitHub Copilot desktop app. This course will teach you to read token usage and AI credits, refresh a session, and choose between project instructions and Copilot Memory.
- Course
Token Management and Memory in GitHub Copilot
Manage context, tokens, and memory in the GitHub Copilot desktop app. This course will teach you to read token usage and AI credits, refresh a session, and choose between project instructions and Copilot Memory.
Get started today
Access this course and other top-rated tech content with one of our business plans.
Try this course for free
Access this course and other top-rated tech content with one of our individual plans.
This course is included in the libraries shown below:
- Core Tech
What you'll learn
Long sessions in the GitHub Copilot desktop app can collect too much history, while fresh sessions can leave useful project knowledge behind. In this course, Token Management and Memory in GitHub Copilot, you’ll gain the ability to keep the app focused without repeatedly explaining your codebase. First, you’ll explore how tokens and context work, how to read session usage, and how tokens turn into AI credits depending on the model you choose. Next, you’ll discover how to compact a conversation or start fresh without losing the task. Finally, you’ll learn how project instructions and Copilot Memory each carry knowledge between sessions, and how to load supporting documents only when you need them. When you’re finished with this course, you’ll have the skills and knowledge of context and memory management in the GitHub Copilot desktop app needed to work across sessions with relevant context and less unnecessary token consumption.