Commit 4a822da
committed
Fix three docstring inconsistencies per PR review
Three CoPilot findings on PR #116:
1. main.py docstring referenced PlaceholderSegment(name="history")
but the actual field is named ``placeholder``. The code's
chat-template construction uses ``placeholder=`` correctly; only
the docstring narrative was wrong. A reader copy-pasting from the
docstring would have hit a Pydantic ValidationError.
2. Walk-through doc's intro paragraph still said "Apollo 11 Lunar
Module" after the image URL swap to the Apollo 16 "Orion" shot.
The code's docstring + inline comment got updated when the URL
changed but the walk-through intro was missed.
3. Sample "Reading the output" block showed an ``upload.wikimedia.org``
image URL the example explicitly warns against. Updated to the
actual default ``images-assets.nasa.gov`` URL so the sample
matches a real run.1 parent 40c4ebf commit 4a822da
2 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments