Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
94f110b3
Unverified
Commit
94f110b3
authored
Oct 20, 2025
by
Jeffrey Morgan
Committed by
GitHub
Oct 20, 2025
Browse files
model/parsers: remove warning for missing <think> tag for qwen3-vl (#12713)
parent
5d22953b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
model/parsers/qwen3vl.go
model/parsers/qwen3vl.go
+0
-3
No files found.
model/parsers/qwen3vl.go
View file @
94f110b3
...
@@ -181,9 +181,6 @@ func (p *Qwen3VLParser) eat() ([]qwenEvent, bool) {
...
@@ -181,9 +181,6 @@ func (p *Qwen3VLParser) eat() ([]qwenEvent, bool) {
split
:=
strings
.
SplitN
(
p
.
buffer
.
String
(),
thinkingCloseTag
,
2
)
split
:=
strings
.
SplitN
(
p
.
buffer
.
String
(),
thinkingCloseTag
,
2
)
// before := split[0]
// before := split[0]
before
:=
strings
.
TrimRightFunc
(
split
[
0
],
unicode
.
IsSpace
)
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
)
after
:=
strings
.
TrimLeftFunc
(
split
[
1
],
unicode
.
IsSpace
)
if
len
(
before
)
>
0
{
if
len
(
before
)
>
0
{
events
=
append
(
events
,
qwenEventThinkingContent
{
content
:
before
})
events
=
append
(
events
,
qwenEventThinkingContent
{
content
:
before
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment