Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
48e376a0
Unverified
Commit
48e376a0
authored
Mar 05, 2026
by
Christian Munley
Committed by
GitHub
Mar 05, 2026
Browse files
qwen3coder tool parser fix anyOf double encoded parameters (#36032)
Signed-off-by:
Christian Munley
<
cmunley@nvidia.com
>
parent
21eb2c33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
vllm/tool_parsers/qwen3coder_tool_parser.py
vllm/tool_parsers/qwen3coder_tool_parser.py
+6
-0
No files found.
vllm/tool_parsers/qwen3coder_tool_parser.py
View file @
48e376a0
...
@@ -157,6 +157,12 @@ class Qwen3CoderToolParser(ToolParser):
...
@@ -157,6 +157,12 @@ class Qwen3CoderToolParser(ToolParser):
and
"type"
in
param_config
[
param_name
]
and
"type"
in
param_config
[
param_name
]
):
):
param_type
=
str
(
param_config
[
param_name
][
"type"
]).
strip
().
lower
()
param_type
=
str
(
param_config
[
param_name
][
"type"
]).
strip
().
lower
()
elif
(
isinstance
(
param_config
[
param_name
],
dict
)
and
"anyOf"
in
param_config
[
param_name
]
):
# anyOf has no top-level "type"; treat as object to trigger json.loads.
param_type
=
"object"
else
:
else
:
param_type
=
"string"
param_type
=
"string"
if
param_type
in
[
"string"
,
"str"
,
"text"
,
"varchar"
,
"char"
,
"enum"
]:
if
param_type
in
[
"string"
,
"str"
,
"text"
,
"varchar"
,
"char"
,
"enum"
]:
...
...
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