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
change
sglang
Commits
92885441
Unverified
Commit
92885441
authored
Oct 28, 2025
by
Keyang Ru
Committed by
GitHub
Oct 28, 2025
Browse files
[router] Fix type unmatch during validation (#12257)
parent
64cf868e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sgl-router/src/core/workflow/steps/mcp_registration.rs
sgl-router/src/core/workflow/steps/mcp_registration.rs
+1
-1
No files found.
sgl-router/src/core/workflow/steps/mcp_registration.rs
View file @
92885441
...
@@ -204,7 +204,7 @@ impl StepExecutor for ValidateRegistrationStep {
...
@@ -204,7 +204,7 @@ impl StepExecutor for ValidateRegistrationStep {
.ok_or_else
(||
WorkflowError
::
ContextValueNotFound
(
"mcp_server_config"
.to_string
()))
?
;
.ok_or_else
(||
WorkflowError
::
ContextValueNotFound
(
"mcp_server_config"
.to_string
()))
?
;
let
client_registered
=
context
let
client_registered
=
context
.get
::
<
Arc
<
RunningService
<
RoleClient
,
()
>>
>
(
"mcp_client"
)
.get
::
<
RunningService
<
RoleClient
,
()
>>
(
"mcp_client"
)
.is_some
();
.is_some
();
if
client_registered
{
if
client_registered
{
...
...
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