Skip to content

Conversation

@jakemac53
Copy link
Contributor

Marking this as closing #197 - it should significantly help the LLM figure out what it did wrong. The error would now be something like "Value <root> is not of type List<dynamic> at path #root["roots"]".

I made a fair number of changes to the validation errors here, namely only emitting errors for the leaf node where the error actually happened and not the entire path up. I don't think that extra info was helpful.

cc @kenzieschmoll

@github-actions
Copy link

PR Health

Changelog Entry ✔️
Package Changed Files

Changes to files need to be accounted for in their respective changelogs.

@jakemac53 jakemac53 merged commit 1af73bc into main Jun 27, 2025
19 checks passed
@jakemac53 jakemac53 deleted the validate-tools branch June 27, 2025 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants