Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions python/sglang/srt/openai_api/adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1192,6 +1192,7 @@ def v1_chat_generate_request(
lora_path=lora_paths,
bootstrap_host=all_requests[0].bootstrap_host,
bootstrap_room=all_requests[0].bootstrap_room,
bootstrap_port=all_requests[0].bootstrap_port,
)

return adapted_request, all_requests if len(all_requests) > 1 else all_requests[0]
Expand Down
1 change: 1 addition & 0 deletions python/sglang/srt/openai_api/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ def set_tool_choice_default(cls, values):
# For PD disaggregation
bootstrap_host: Optional[str] = None
bootstrap_room: Optional[int] = None
bootstrap_port: Optional[int] = None


class FunctionResponse(BaseModel):
Expand Down