[router][grpc] Add dependencies in Cargo.toml to support chat template rendering (#11342)

This commit is contained in:
Chang Su
2025-10-08 15:38:37 -07:00
committed by GitHub
parent 7ac6b900f4
commit fccac7d126
4 changed files with 5 additions and 17 deletions

View File

@@ -119,7 +119,6 @@ async fn test_llama_format_detection() {
assert!(parser.has_tool_markers(r#"<|python_tag|>{"name": "test"}"#));
assert!(parser.has_tool_markers(r#"{"name": "test", "parameters": {}}"#));
assert!(!parser.has_tool_markers("plain text"));
assert!(!parser.has_tool_markers(r#"{"key": "value"}"#)); // No name field
}
#[tokio::test]