Checklist
Bug Description
When starting sglang in HTTP mode, accessing the default root endpoint (http://<ip>:<port>/) returns the message:
Ollama is running
This is misleading and appears to be an incorrect response for an sglang server. Users may be confused because the response suggests that an Ollama service is running instead of sglang.
Steps to Reproduce
- Start
sglang using HTTP mode.
- Open a browser or use
curl to access the root endpoint:
- Observe the returned response.
Actual Behavior
The server responds with:
Expected Behavior
The endpoint should either:
- Return an sglang-specific message (e.g.,
sglang server is running), or
- Return a proper API root response / documentation endpoint.
Notes
This response likely comes from a reused or inherited handler and does not reflect the actual running service, which may lead to confusion during debugging or service verification.
CC @hnyls2002 @Kangyan-Zhou @alisonshao
Environment
Any sglang server
Checklist
Bug Description
When starting sglang in HTTP mode, accessing the default root endpoint (
http://<ip>:<port>/) returns the message:Ollama is runningThis is misleading and appears to be an incorrect response for an sglang server. Users may be confused because the response suggests that an Ollama service is running instead of sglang.
Steps to Reproduce
sglangusing HTTP mode.curlto access the root endpoint:Actual Behavior
The server responds with:
Expected Behavior
The endpoint should either:
sglang server is running), orNotes
This response likely comes from a reused or inherited handler and does not reflect the actual running service, which may lead to confusion during debugging or service verification.
CC @hnyls2002 @Kangyan-Zhou @alisonshao
Environment
Any sglang server