Skip to content

[Feature] support add custom middlewares - #6621

Closed
dblate wants to merge 8 commits into
sgl-project:mainfrom
dblate:feature/middleware
Closed

dblate wants to merge 8 commits into
sgl-project:mainfrom
dblate:feature/middleware

Conversation

@dblate

@dblate dblate commented May 26, 2025

Copy link
Copy Markdown
Contributor

Motivation

Support add custom middleware by cli args, align with vllm.

Modifications

  • server_args.py: add --middleware args
  • http_server.py: parse middleware and used in service

Checklist

@dblate

dblate commented May 30, 2025 •

Copy link
Copy Markdown
Contributor Author

Please take some time to review this code, I will fix any issues promptly, thanks.

@github-actions

Copy link
Copy Markdown
Contributor

Thanks @dblate. Closing this because it has had no updates in 257 days.

Reopen it if the work is still relevant.

Some directories moved recently, so an older branch may need retargeting:
sgl-kernel/ -> python/sglang/kernels/aot/, python/sglang/jit_kernel/
-> python/sglang/kernels/jit/, docs/ -> docs/docs/ (.mdx),
bench_serving.py -> benchmark/serving.py, test/srt/ -> test/registered/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants