Skip to content

feat: add audio-input-prefer routing strategy - #131

Merged
cursor[bot] merged 1 commit into
mainfrom
cursor/a828-audio-input-prefer
Aug 28, 2026
Merged

feat: add audio-input-prefer routing strategy#131
cursor[bot] merged 1 commit into
mainfrom
cursor/a828-audio-input-prefer

Conversation

@cursor

@cursor cursor Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds audio-input-prefer capability routing (OpenRouter/LiteLLM-style) for speech/audio requests — gap vs existing multimodal/tool/streaming/long-context prefer strategies.

Stack

Routes across GPT-5.5 / Claude Sonnet 4.6 / Gemini 3.x / Kimi K2 catalogs

Suggested repo description / topics

  • Description: Production LLM router with capability-aware strategies + multi-provider adapters (GPT-5.5, Claude Sonnet 4.6, Gemini 3.x, Kimi K2).
  • Topics: llm-router, openai, anthropic, gemini, kimi

Test plan

  • ruff + strategy tests (12)
  • CI green; badge 799 on this tip
Open in Web View Automation 

Prefer audio-capable models when metadata requires_audio / audio_input /
audio is truthy, using audio_models allowlist, known-map audio capability
(gpt-5* / gemini*), or name heuristics for GPT-5.5 / Claude Sonnet 4.6 /
Gemini 3.x / Kimi K2.

Co-authored-by: shunqil <shunqil@usc.edu>
@cursor
cursor Bot marked this pull request as ready for review August 28, 2026 16:14
@cursor
cursor Bot requested a review from Francis1998 as a code owner August 28, 2026 16:14
@cursor
cursor Bot merged commit 6a52f85 into main Aug 28, 2026
2 checks passed
@cursor
cursor Bot deleted the cursor/a828-audio-input-prefer branch August 28, 2026 16:17
cursor Bot pushed a commit that referenced this pull request Aug 28, 2026
Rebased onto main after #131 audio-input-prefer; keeps audio on main and
re-inserts only web-search-prefer into shared router files.

Co-authored-by: shunqil <shunqil@usc.edu>
cursor Bot pushed a commit that referenced this pull request Aug 28, 2026
Rebased onto main after #131 audio-input-prefer; keeps audio on main and
re-inserts only computer-use-prefer into shared router files.

Co-authored-by: shunqil <shunqil@usc.edu>
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