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
b8c7015f
Unverified
Commit
b8c7015f
authored
Feb 17, 2026
by
MatejKosec
Committed by
GitHub
Feb 18, 2026
Browse files
fix: wire reasoning parser from worker runtime config into frontend (#6300)
Signed-off-by:
Matej Kosec
<
mkosec@nvidia.com
>
parent
ef2583a9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
lib/llm/src/discovery/model_manager.rs
lib/llm/src/discovery/model_manager.rs
+8
-2
No files found.
lib/llm/src/discovery/model_manager.rs
View file @
b8c7015f
...
@@ -557,11 +557,17 @@ impl ModelManager {
...
@@ -557,11 +557,17 @@ impl ModelManager {
.and_then
(|
r
|
r
.value
()
.runtime_config.tool_call_parser
.clone
())
.and_then
(|
r
|
r
.value
()
.runtime_config.tool_call_parser
.clone
())
}
}
pub
fn
get_model_reasoning_parser
(
&
self
,
model
:
&
str
)
->
Option
<
String
>
{
self
.cards
.iter
()
.find
(|
r
|
r
.value
()
.display_name
==
model
)
.and_then
(|
r
|
r
.value
()
.runtime_config.reasoning_parser
.clone
())
}
/// Creates parsing options with tool call parser and reasoning parser for the specified model.
/// Creates parsing options with tool call parser and reasoning parser for the specified model.
/// Currently reasoning parser is not implemented (returns None).
pub
fn
get_parsing_options
(
&
self
,
model
:
&
str
)
->
crate
::
protocols
::
openai
::
ParsingOptions
{
pub
fn
get_parsing_options
(
&
self
,
model
:
&
str
)
->
crate
::
protocols
::
openai
::
ParsingOptions
{
let
tool_call_parser
=
self
.get_model_tool_call_parser
(
model
);
let
tool_call_parser
=
self
.get_model_tool_call_parser
(
model
);
let
reasoning_parser
=
None
;
// TODO: Implement
reasoning
parser
let
reasoning_parser
=
self
.get_model_
reasoning
_
parser
(
model
);
crate
::
protocols
::
openai
::
ParsingOptions
::
new
(
tool_call_parser
,
reasoning_parser
)
crate
::
protocols
::
openai
::
ParsingOptions
::
new
(
tool_call_parser
,
reasoning_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