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
f094e0a4
Unverified
Commit
f094e0a4
authored
Oct 07, 2025
by
Chang Su
Committed by
GitHub
Oct 07, 2025
Browse files
[router][grpc] Fix request_id extraction when n > 1 (#11311)
parent
4ed67c27
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
python/sglang/srt/entrypoints/grpc_request_manager.py
python/sglang/srt/entrypoints/grpc_request_manager.py
+2
-2
No files found.
python/sglang/srt/entrypoints/grpc_request_manager.py
View file @
f094e0a4
...
@@ -263,8 +263,8 @@ class GrpcRequestManager:
...
@@ -263,8 +263,8 @@ class GrpcRequestManager:
response
=
await
task
response
=
await
task
# Add index for client-side ordering
# Add index for client-side ordering
if
isinstance
(
response
,
dict
)
and
"meta_info"
in
response
:
if
isinstance
(
response
,
dict
):
response_rid
=
response
[
"meta_info"
].
get
(
"
id"
,
""
)
response_rid
=
response
.
get
(
"request_
id"
,
""
)
if
response_rid
in
rid_to_index
:
if
response_rid
in
rid_to_index
:
response
[
"index"
]
=
rid_to_index
[
response_rid
]
response
[
"index"
]
=
rid_to_index
[
response_rid
]
...
...
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