Commit bf157e2
committed
Swap CI vision test image to author-licensed (MIT) Commons file
The previous default (Red_Apple.jpg) was CC-BY 2.0, not CC0 / public
domain as the surrounding comments claimed - it requires attribution
that the test scaffold did not supply.
Replace with File:20200601_135745_Flowers_and_Bees.jpg from Wikimedia
Commons by Bernard Ladenthin (the project copyright holder), which the
same author additionally grants under MIT for use in this project.
Fetch via Special:FilePath?width=640 so CI pulls a ~80 KB thumbnail
instead of the multi-MB original phone photo.
Updates
- publish.yml VISION_IMAGE_URL / _NAME swapped; the comment block above
the env vars now records the original Commons file, the author, the
Commons license (CC-BY-4.0), and the MIT grant to this project.
- All four 'Download CC0 / public-domain test image' step names
renamed to 'Download MIT-granted test image (by project author, see
env block)'.
- validate-models.sh OPTIONAL_IMAGES entry updated to the new filename.
- MultimodalIntegrationTest javadoc adds an Image source section
recording the Commons URL + author + CC-BY-4.0 / MIT dual grant.
- docs/history/49be664_open_issues.md recommended-sequencing entry no
longer calls the image CC0 / PD.
Verified
- mvn test -Dtest='ContentPartTest,MultimodalMessagesTest,MultimodalIntegrationTest'
BUILD SUCCESS: 25 unit tests pass, integration test self-skips
(no -D system properties locally).1 parent 594c26c commit bf157e2
4 files changed
Lines changed: 30 additions & 17 deletions
File tree
- .github
- workflows
- docs/history
- src/test/java/net/ladenthin/llama
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
| |||
411 | 415 | | |
412 | 416 | | |
413 | 417 | | |
414 | | - | |
| 418 | + | |
415 | 419 | | |
416 | 420 | | |
417 | 421 | | |
| |||
484 | 488 | | |
485 | 489 | | |
486 | 490 | | |
487 | | - | |
| 491 | + | |
488 | 492 | | |
489 | 493 | | |
490 | 494 | | |
| |||
547 | 551 | | |
548 | 552 | | |
549 | 553 | | |
550 | | - | |
| 554 | + | |
551 | 555 | | |
552 | 556 | | |
553 | 557 | | |
| |||
613 | 617 | | |
614 | 618 | | |
615 | 619 | | |
616 | | - | |
| 620 | + | |
617 | 621 | | |
618 | 622 | | |
619 | 623 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
939 | 939 | | |
940 | 940 | | |
941 | 941 | | |
942 | | - | |
943 | | - | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
944 | 945 | | |
945 | 946 | | |
946 | 947 | | |
| |||
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
40 | 48 | | |
41 | 49 | | |
42 | 50 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
47 | 55 | | |
48 | 56 | | |
49 | 57 | | |
| |||
0 commit comments