Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

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

Jeffrey Morgan94f110b35aaa
diff --git a/model/parsers/qwen3vl.go b/model/parsers/qwen3vl.go
index 75ee6abe7..a8e7376c2 100644
--- a/model/parsers/qwen3vl.go
+++ b/model/parsers/qwen3vl.go
@@ -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})