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
1e18a341
Unverified
Commit
1e18a341
authored
Sep 04, 2025
by
Tony Lu
Committed by
GitHub
Sep 04, 2025
Browse files
[Bugfix] fix pd chat completion protocol for batching support (#10016)
Signed-off-by:
Tony Lu
<
tonylu@linux.alibaba.com
>
parent
2c562fd2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
python/sglang/srt/entrypoints/openai/protocol.py
python/sglang/srt/entrypoints/openai/protocol.py
+3
-3
No files found.
python/sglang/srt/entrypoints/openai/protocol.py
View file @
1e18a341
...
@@ -542,9 +542,9 @@ class ChatCompletionRequest(BaseModel):
...
@@ -542,9 +542,9 @@ class ChatCompletionRequest(BaseModel):
rid
:
Optional
[
Union
[
List
[
str
],
str
]]
=
None
rid
:
Optional
[
Union
[
List
[
str
],
str
]]
=
None
# For PD disaggregation
# For PD disaggregation
bootstrap_host
:
Optional
[
str
]
=
None
bootstrap_host
:
Optional
[
Union
[
List
[
str
],
str
]
]
=
None
bootstrap_port
:
Optional
[
int
]
=
None
bootstrap_port
:
Optional
[
Union
[
List
[
Optional
[
int
]],
int
]
]
=
None
bootstrap_room
:
Optional
[
int
]
=
None
bootstrap_room
:
Optional
[
Union
[
List
[
int
],
int
]
]
=
None
class
ChatMessage
(
BaseModel
):
class
ChatMessage
(
BaseModel
):
...
...
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