Skip to content

Commit 94f110b

Browse files
authored
model/parsers: remove warning for missing <think> tag for qwen3-vl (ollama#12713)
1 parent 5d22953 commit 94f110b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

model/parsers/qwen3vl.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,6 @@ func (p *Qwen3VLParser) eat() ([]qwenEvent, bool) {
181181
split := strings.SplitN(p.buffer.String(), thinkingCloseTag, 2)
182182
// before := split[0]
183183
before := strings.TrimRightFunc(split[0], unicode.IsSpace)
184-
if len(before) == 0 {
185-
slog.Warn("qwen tool call closing tag found but no content before it")
186-
}
187184
after := strings.TrimLeftFunc(split[1], unicode.IsSpace)
188185
if len(before) > 0 {
189186
events = append(events, qwenEventThinkingContent{content: before})

0 commit comments

Comments
 (0)