chat : implement inkling parser (#32381)

This commit is contained in:
Aldehir Rojas authored and GitHub committed 2026-11-16 19:48:24 +01:00
1 parent 4303cd94ae
commit 4ddf2b9470
9 files changed
+532 -54

No files matched your search

+2
View File
@@ -403,6 +403,8 @@ size_t llama_grammar_trigger_pattern::find(const std::string & input) const {
if (std::regex_match(input, match, regex)) {
return find_start_pos(match);
}
// some regex implementations match ^/$ at line breaks
return std::string::npos;
}
// search anywhere