Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion 01-setup-and-first-steps/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

</details>
Expand Down
23 changes: 23 additions & 0 deletions 02-context-conversations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) |

<details>
<summary><strong>Additional @ Patterns & Session Commands</strong></summary>
Expand Down Expand Up @@ -689,6 +690,28 @@ copilot

</details>

<details>
<summary><strong>Attaching Document Files</strong></summary>
<a id="attaching-documents"></a>

### 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.

</details>

---

# Practice
Expand Down
Loading