[router] add llama tool parser (#9629)

Co-authored-by: Chang Su <chang.s.su@oracle.com>
This commit is contained in:
Simo Lin
2025-08-25 20:43:36 -07:00
committed by GitHub
parent 03680f33be
commit dc1decc6af
3 changed files with 162 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
/// This module provides infrastructure for parsing tool calls from various model formats.
pub mod errors;
pub mod json_parser;
pub mod llama_parser;
pub mod mistral_parser;
pub mod partial_json;
pub mod python_literal_parser;
@@ -19,6 +20,7 @@ mod tests;
// Re-export commonly used types
pub use errors::{ToolParserError, ToolParserResult};
pub use json_parser::JsonParser;
pub use llama_parser::LlamaParser;
pub use mistral_parser::MistralParser;
pub use pythonic_parser::PythonicParser;
pub use qwen_parser::QwenParser;