[Rust Frontend] Introduce unified parser interface & combined parser (#46583)

Signed-off-by: Bugen Zhao <i@bugenzhao.com>
This commit is contained in:
Bugen Zhao
2026-06-25 03:17:31 +00:00
committed by GitHub
parent efb5acffd5
commit 76c3c4ff63
74 changed files with 1204 additions and 1745 deletions
+1 -1
View File
@@ -1180,7 +1180,7 @@ async fn chat_stream_parses_tool_calls_automatically() {
),
request_output(
"chat-tool",
bytes_to_token_ids(
bytes_with_special_stop_token(
b"\"arguments\":{\"city\":\"Paris\"}}\n</tool_call>",
),
Some(EngineCoreFinishReason::Stop),