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
5dd0f870
Unverified
Commit
5dd0f870
authored
Jul 23, 2025
by
Simo Lin
Committed by
GitHub
Jul 23, 2025
Browse files
[bug] fix pd completion protocol for batching support (#8317)
parent
f7e102d5
Changes
1
Hide 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 @
5dd0f870
...
@@ -192,9 +192,9 @@ class CompletionRequest(BaseModel):
...
@@ -192,9 +192,9 @@ class CompletionRequest(BaseModel):
session_params
:
Optional
[
Dict
]
=
None
session_params
:
Optional
[
Dict
]
=
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
# For request id
# For request id
rid
:
Optional
[
Union
[
List
[
str
],
str
]]
=
None
rid
:
Optional
[
Union
[
List
[
str
],
str
]]
=
None
...
...
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