model/parsers: remove warning for missing <think> tag for qwen3-vl (#12713)

This commit is contained in:
Jeffrey Morgan
2025-10-20 16:03:43 -07:00
committed by GitHub
parent 5d22953ba7
commit 94f110b35a

View File

@@ -181,9 +181,6 @@ func (p *Qwen3VLParser) eat() ([]qwenEvent, bool) {
split := strings.SplitN(p.buffer.String(), thinkingCloseTag, 2)
// before := split[0]
before := strings.TrimRightFunc(split[0], unicode.IsSpace)
if len(before) == 0 {
slog.Warn("qwen tool call closing tag found but no content before it")
}
after := strings.TrimLeftFunc(split[1], unicode.IsSpace)
if len(before) > 0 {
events = append(events, qwenEventThinkingContent{content: before})