[Bugfix] Tolerate misspelled DSML tool_calls wrapper (#56141)

Signed-off-by: sfeng33 <4florafeng@gmail.com>
This commit is contained in:
Flora Feng
2026-09-10 15:04:29 +08:00
committed by GitHub
parent 83990f5bcc
commit 9e25706560
9 changed files with 262 additions and 14 deletions
@@ -51,7 +51,7 @@ def _build_drop_info(
configured_texts = (
set(config.token_id_terminals.values())
| set(config.terminals.values())
| config.terminal_literals
| config.preserve_tokens
)