sgl-project/sglang

[Feature] Support `abort_request` in the router

Open

#6,531 opened on May 22, 2025

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Python (6,216 forks)auto 404
good first issue

Repository metrics

Stars
 (28,442 stars)
PR merge metrics
 (Avg merge 2d 1h) (1,000 merged PRs in 30d)

Description

Checklist

Motivation

Hi,

I'd like to use the new abort_request API: https://github.com/sgl-project/sglang/blob/58f10679e1850fdc86046057c23bac5193156de9/python/sglang/srt/entrypoints/http_server.py#L549

However, I'm using multiple SGLang servers behind a router, and currently the router doesn't seem to support abort_request: https://github.com/sgl-project/sglang/blob/main/sgl-router/src/server.rs

I'm wondering if it makes sense to also support abort_request in the router. Thanks!

Related resources

No response

Contributor guide