We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b58973d commit 900cdc9Copy full SHA for 900cdc9
lib/parsers/src/tool_calling/dsml/parser.rs
@@ -99,6 +99,9 @@ fn extract_tool_calls(
99
let mut tool_calls = Vec::new();
100
101
// Find all function_calls blocks
102
+ // Matches: <|DSML|function_calls> ... </|DSML|function_calls>
103
+ // Pattern: (?s) = dot matches newlines
104
+ // \s*(.*?)\s* = capture content between start/end tags (non-greedy)
105
let block_pattern = format!(
106
r"(?s){}\s*(.*?)\s*{}",
107
regex::escape(&config.function_calls_start),
0 commit comments