Skip to main content

llama_cpp_bindings/
resolved_tool_call_markers.rs

1/// Effective tool-call marker strings resolved from either the autoparser
2/// output or the per-template override registry.
3///
4/// Each side is independently optional because the autoparser may report only
5/// one of the two strings, and the override registry may not match the
6/// template at all.
7#[derive(Clone, Debug, Eq, PartialEq)]
8pub struct ResolvedToolCallMarkers {
9    pub open: Option<String>,
10    pub close: Option<String>,
11}