Commit f9b82f0
Improve describeSchemaType to show array item type in error messages (#132)
When a required array field is missing, the validation error now reads
'missing required field (expected array of string)' instead of
'missing required field (expected array)'. This makes repair prompts
more precise and helps the model produce the correct item type on retry.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 5863b97 commit f9b82f0
2 files changed
Lines changed: 17 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2306 | 2306 | | |
2307 | 2307 | | |
2308 | 2308 | | |
| 2309 | + | |
| 2310 | + | |
| 2311 | + | |
| 2312 | + | |
2309 | 2313 | | |
2310 | 2314 | | |
2311 | 2315 | | |
2312 | 2316 | | |
2313 | 2317 | | |
2314 | 2318 | | |
2315 | | - | |
2316 | | - | |
2317 | | - | |
2318 | 2319 | | |
2319 | 2320 | | |
2320 | 2321 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1684 | 1684 | | |
1685 | 1685 | | |
1686 | 1686 | | |
1687 | | - | |
| 1687 | + | |
1688 | 1688 | | |
1689 | 1689 | | |
1690 | 1690 | | |
1691 | 1691 | | |
1692 | 1692 | | |
1693 | 1693 | | |
1694 | | - | |
| 1694 | + | |
| 1695 | + | |
| 1696 | + | |
| 1697 | + | |
| 1698 | + | |
| 1699 | + | |
| 1700 | + | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
| 1705 | + | |
1695 | 1706 | | |
1696 | 1707 | | |
1697 | 1708 | | |
| |||
0 commit comments