diff --git a/01-setup-and-first-steps/README.md b/01-setup-and-first-steps/README.md index 354c95b..290494f 100644 --- a/01-setup-and-first-steps/README.md +++ b/01-setup-and-first-steps/README.md @@ -481,9 +481,13 @@ Copilot CLI supports multiple AI models from OpenAI, Anthropic, Google, and othe copilot > /model -# Shows available models and lets you pick one. Select Sonnet 4.5. +# Shows available models and lets you pick one. +# Select "auto" to let Copilot automatically choose the best model for each task. +# Or select a specific model like Sonnet 4.5. ``` +> 💡 **Not sure which model to choose?** Select `auto` when prompted. Copilot will automatically pick the best available model for each session based on the task. It's the simplest option and a great starting point. + > 💡 **Tip**: Some models cost more "premium requests" than others. Models marked **1x** (like Claude Sonnet 4.5) are a great default. They're capable and efficient. Higher-multiplier models use your premium request quota faster, so save those for when you really need them. diff --git a/02-context-conversations/README.md b/02-context-conversations/README.md index 81bfe7a..d0bc680 100644 --- a/02-context-conversations/README.md +++ b/02-context-conversations/README.md @@ -427,6 +427,7 @@ These topics build on the essentials above. **Pick what interests you, or skip a | Token limits and `/compact` | [Understanding Context Windows](#understanding-context-windows) | | How to pick the right files to reference | [Choosing What to Reference](#choosing-what-to-reference) | | Analyzing screenshots and mockups | [Working with Images](#working-with-images) | +| Attaching PDF and other document files | [Attaching Document Files](#attaching-documents) |
Additional @ Patterns & Session Commands @@ -689,6 +690,28 @@ copilot
+
+Attaching Document Files + + +### Attaching Document Files + +In addition to code files and images, you can attach supported **document files** (such as PDFs) to your prompts. This lets Copilot read and reason about the contents of documents alongside your code. + +```bash +copilot + +> @requirements.pdf @samples/book-app-project/ Does the book app satisfy these requirements? + +> @architecture-diagram.pdf Summarize the key design decisions and check if @samples/book-app-project/ follows them +``` + +> 💡 **When is this useful?** Suppose you have a PDF of technical requirements, a design document, or a user manual. You can attach it directly so Copilot can understand the context without you having to copy-paste the contents manually. + +> ⚠️ **Note**: Not all document formats are supported. PDFs are a common format that works well. If Copilot cannot read a file, try converting it to a plain text or Markdown format first. + +
+ --- # Practice