sgl-project/sglang

[Feature] Support `abort_request` in the router

Open

#6.531 aberto em 22 de mai. de 2025

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)Python (6.216 forks)auto 404
good first issue

Métricas do repositório

Stars
 (28.442 stars)
Métricas de merge de PR
 (Mesclagem média 2d 1h) (1.000 fundiu PRs em 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

Guia do colaborador