Skip to content

[PR-1309] add sglang cancellation#1019

Open
phatvo9 wants to merge 2 commits intomasterfrom
sglang-model-class
Open

[PR-1309] add sglang cancellation#1019
phatvo9 wants to merge 2 commits intomasterfrom
sglang-model-class

Conversation

@phatvo9
Copy link
Copy Markdown
Contributor

@phatvo9 phatvo9 commented Apr 22, 2026

What

Add sglang openai class + cancellation

Tests

  • Manual tests via local runner
  • Mock tests

@phatvo9 phatvo9 requested a review from christineyu123 April 22, 2026 11:08
@christineyu123
Copy link
Copy Markdown
Contributor

Looks good! What I would suggest is if you can find a model that you are currently hardcoding the cancellation, and try replace model.py using this PR's model class and see if def generate()/openai_stream_support(), etc. are still working. Especially the token count and pricing are still good. To ensure nothing wrong if future models start to inherit that .

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