Skip to content

feat: add rerank support#492

Open
jonjomckay wants to merge 4 commits into
OpenRouterTeam:mainfrom
jonjomckay:add-rerank-support
Open

feat: add rerank support#492
jonjomckay wants to merge 4 commits into
OpenRouterTeam:mainfrom
jonjomckay:add-rerank-support

Conversation

@jonjomckay

Copy link
Copy Markdown
Contributor

Description

This adds support for OpenRouter's reranking API endpoint, using the Vercel SDK's provider reranking API.

Checklist

  • I have run pnpm stylecheck and pnpm typecheck
  • I have run pnpm test and all tests pass
  • I have added tests for my changes (if applicable)
  • I have updated documentation (if applicable)

Changeset

  • I have run pnpm changeset to create a changeset file

Note: A changeset is required for your changes to trigger a release. If your PR only contains docs, tests, or CI changes that don't need a release, run pnpm changeset --empty instead.

Comment thread README.md Outdated
Comment thread src/types/openrouter-rerank-settings.ts Outdated
jonjomckay and others added 2 commits May 1, 2026 23:01
Co-authored-by: Viet-Tien <tiena2cva@gmail.com>
Co-authored-by: Viet-Tien <tiena2cva@gmail.com>
@jonjomckay

Copy link
Copy Markdown
Contributor Author

Thanks @nvti - I've added those changes!

Comment thread src/types/openrouter-rerank-settings.ts Outdated
Co-authored-by: Viet-Tien <tiena2cva@gmail.com>
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