[Cleanup] Use tokens_input() for TTS prompt construction (#3227)

Signed-off-by: Nick Cao <ncao@redhat.com>
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Nick CaoandClaude authored and GitHub committed 2026-05-04 10:17:25 -04:00
1 parent 9a53703676
commit 5fc0bfe01e
3 files changed
+23 -19

No files matched your search

@@ -109,6 +109,7 @@ class TestVoxCPMServing:
assert call.kwargs["prompt"] == {
"prompt_token_ids": [1],
"additional_information": tts_params,
"type": "token",
}
assert call.kwargs["output_modalities"] == ["audio"]
@@ -140,4 +141,5 @@ class TestVoxCPMServing:
assert call.kwargs["prompt"] == {
"prompt_token_ids": [1],
"additional_information": tts_params,
"type": "token",
}