sgl-project/sglang

[Feature] Support `abort_request` in the router

Open

#6,531 创建于 2025年5月22日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)Python (6,216 fork)auto 404
good first issue

仓库指标

Star
 (28,442 star)
PR 合并指标
 (平均合并 2天 1小时) (30 天内合并 1,000 个 PR)

描述

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

贡献者指南