Skip to content

feat: streaming-prefer routing strategy - #128

Merged
cursor[bot] merged 2 commits into
mainfrom
cursor/a827-streaming-prefer
Aug 27, 2026
Merged

feat: streaming-prefer routing strategy#128
cursor[bot] merged 2 commits into
mainfrom
cursor/a827-streaming-prefer

Conversation

@cursor

@cursor cursor Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add streaming-prefer routing strategy when metadata.stream / requires_streaming is set.
  • Inspired by OpenRouter/LiteLLM streaming-capable model selection for GPT-5.5 / Claude Sonnet 4.6 / Gemini 3.x / Kimi K2.

Changes

  • Feature / fix
  • Tests added or updated
  • Documentation updated
  • CHANGELOG updated

Test Plan

ruff format --check .
ruff check .
pytest tests/test_streaming_prefer_strategy.py -v --tb=short

Checklist

  • Self-reviewed the diff
  • No secrets committed
  • CI passes
Open in Web View Automation 

@cursor
cursor Bot marked this pull request as ready for review August 27, 2026 16:11
@cursor
cursor Bot requested a review from Francis1998 as a code owner August 27, 2026 16:11
@cursor
cursor Bot force-pushed the cursor/a827-streaming-prefer branch from 533ed1d to f412f7d Compare August 27, 2026 16:15
Co-authored-by: shunqil <shunqil@usc.edu>
@cursor
cursor Bot merged commit 045e7bb into main Aug 27, 2026
2 checks passed
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.

1 participant