common : adjust existing patterns to match new semantics

This commit is contained in:
Alde Rojas 2025-12-24 07:36:07 -06:00
parent 3bdcc4f773
commit ff4d24ad1b
1 changed files with 1 additions and 1 deletions

View File

@ -2064,7 +2064,7 @@ static common_chat_params common_chat_params_init_gpt_oss(const common_chat_temp
// Trigger on tool calls that appear in the commentary channel
data.grammar_triggers.push_back({
COMMON_GRAMMAR_TRIGGER_TYPE_PATTERN,
"<\\|channel\\|>(commentary|analysis) to"
"<\\|channel\\|>(?:commentary|analysis) to"
});
// Trigger tool calls that appear in the role section, either at the