Remove maxItems=1 restriction when tool_choice is specified (#20208)

This commit is contained in:
Khoa Pham
2026-04-03 02:35:24 +00:00
committed by GitHub
parent 0539c62bc1
commit 2b5aed94f5
6 changed files with 83 additions and 17 deletions
@@ -915,14 +915,6 @@ class TestToolChoiceLfm2Moe(TestToolChoiceLlama32):
cls.base_url += "/v1"
cls.tokenizer = get_tokenizer(cls.model)
@unittest.skip("maxItems:1 bug causes whitespace stall")
def test_tool_choice_required_non_streaming(self):
pass
@unittest.skip("maxItems:1 bug causes whitespace stall")
def test_tool_choice_specific_function_non_streaming(self):
pass
if __name__ == "__main__":
unittest.main()