Skip to content

Fix chat schema tests#41793

Merged
Rocketknight1 merged 2 commits intomainfrom
fix_chat_schema_tests
Oct 22, 2025
Merged

Fix chat schema tests#41793
Rocketknight1 merged 2 commits intomainfrom
fix_chat_schema_tests

Conversation

@Rocketknight1
Copy link
Member

@Rocketknight1 Rocketknight1 commented Oct 22, 2025

My bad - the chat schema PR added some tests that were failing after my final commits, and I didn't realize because they weren't running in the CI for the PR.

The main problem was that I dropped support for "type": "any", which is no longer part of the JSON schema standard, but left it in some tests, which caused errors. This PR changes the code to read a missing type annotation as implicitly allowing any type, which is compatible with the standard. It also removes a test for Processor schema save/loading, which was dropped from the PR (but will be added soon!)

@Rocketknight1 Rocketknight1 marked this pull request as ready for review October 22, 2025 14:49
Copy link
Collaborator

@ydshieh ydshieh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙏

(I trust you that you run it locally , don't let me down 🙃 please)

@Rocketknight1
Copy link
Member Author

I did!

@Rocketknight1 Rocketknight1 enabled auto-merge (squash) October 22, 2025 14:56
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@Rocketknight1 Rocketknight1 merged commit 2ca506c into main Oct 22, 2025
25 checks passed
@Rocketknight1 Rocketknight1 deleted the fix_chat_schema_tests branch October 22, 2025 15:00
ngazagna-qc pushed a commit to ngazagna-qc/transformers that referenced this pull request Oct 23, 2025
* Fix chat schema tests

* make fixup
i3hz pushed a commit to i3hz/transformers that referenced this pull request Oct 30, 2025
* Fix chat schema tests

* make fixup
SangbumChoi pushed a commit to SangbumChoi/transformers that referenced this pull request Jan 23, 2026
* Fix chat schema tests

* make fixup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments