[Feature][V1] Support tool_choice: required when using Xgrammar as the StructuredOutputBackend. (#17845)

Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
This commit is contained in:
Chauncey
2025-05-12 23:01:31 -07:00
committed by GitHub
parent 61e0a506a3
commit dc1a821768
5 changed files with 160 additions and 13 deletions
+3 -1
View File
@@ -74,7 +74,9 @@ def sample_json_schema():
},
"required": ["company", "duration", "position"],
"additionalProperties": False
}
},
"minItems": 0,
"maxItems": 3
}
},
"required":