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
dynamo
Commits
648e1cd2
Unverified
Commit
648e1cd2
authored
Jan 13, 2026
by
Ayush Agarwal
Committed by
GitHub
Jan 13, 2026
Browse files
chore: configure nemotron nano parsers (#5396)
Signed-off-by:
ayushag
<
ayushag@nvidia.com
>
parent
c3dc3de4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
lib/parsers/src/reasoning/mod.rs
lib/parsers/src/reasoning/mod.rs
+2
-0
lib/parsers/src/tool_calling/parsers.rs
lib/parsers/src/tool_calling/parsers.rs
+2
-0
No files found.
lib/parsers/src/reasoning/mod.rs
View file @
648e1cd2
...
@@ -27,6 +27,7 @@ fn get_reasoning_parser_map() -> &'static HashMap<&'static str, ReasoningParserT
...
@@ -27,6 +27,7 @@ fn get_reasoning_parser_map() -> &'static HashMap<&'static str, ReasoningParserT
map
.insert
(
"step3"
,
ReasoningParserType
::
Step3
);
map
.insert
(
"step3"
,
ReasoningParserType
::
Step3
);
map
.insert
(
"mistral"
,
ReasoningParserType
::
Mistral
);
map
.insert
(
"mistral"
,
ReasoningParserType
::
Mistral
);
map
.insert
(
"granite"
,
ReasoningParserType
::
Granite
);
map
.insert
(
"granite"
,
ReasoningParserType
::
Granite
);
map
.insert
(
"nemotron_nano"
,
ReasoningParserType
::
NemotronDeci
);
// nemotron nano is <think>...</think>
map
map
})
})
}
}
...
@@ -213,6 +214,7 @@ mod tests {
...
@@ -213,6 +214,7 @@ mod tests {
"step3"
,
"step3"
,
"mistral"
,
"mistral"
,
"granite"
,
"granite"
,
"nemotron_nano"
,
];
];
for
parser
in
available_parsers
{
for
parser
in
available_parsers
{
assert
!
(
parsers
.contains
(
&
parser
));
assert
!
(
parsers
.contains
(
&
parser
));
...
...
lib/parsers/src/tool_calling/parsers.rs
View file @
648e1cd2
...
@@ -43,6 +43,7 @@ pub fn get_tool_parser_map() -> &'static HashMap<&'static str, ToolCallConfig> {
...
@@ -43,6 +43,7 @@ pub fn get_tool_parser_map() -> &'static HashMap<&'static str, ToolCallConfig> {
map
.insert
(
"qwen3_coder"
,
ToolCallConfig
::
qwen3_coder
());
map
.insert
(
"qwen3_coder"
,
ToolCallConfig
::
qwen3_coder
());
map
.insert
(
"jamba"
,
ToolCallConfig
::
jamba
());
map
.insert
(
"jamba"
,
ToolCallConfig
::
jamba
());
map
.insert
(
"default"
,
ToolCallConfig
::
default
());
map
.insert
(
"default"
,
ToolCallConfig
::
default
());
map
.insert
(
"nemotron_nano"
,
ToolCallConfig
::
qwen3_coder
());
// nemotron nano follows qwen3_coder format
map
map
})
})
}
}
...
@@ -207,6 +208,7 @@ mod tests {
...
@@ -207,6 +208,7 @@ mod tests {
"deepseek_v3_2"
,
"deepseek_v3_2"
,
"qwen3_coder"
,
"qwen3_coder"
,
"jamba"
,
"jamba"
,
"nemotron_nano"
,
];
];
for
parser
in
available_parsers
{
for
parser
in
available_parsers
{
assert
!
(
parsers
.contains
(
&
parser
));
assert
!
(
parsers
.contains
(
&
parser
));
...
...
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