Unverified Commit 94f110b3 authored by Jeffrey Morgan's avatar Jeffrey Morgan Committed by GitHub
Browse files

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

parent 5d22953b
......@@ -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})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment