Skip to content

feat(openrouter): add app_categories field for marketplace attribution#36205

Merged
Mason Daugherty (mdrxy) merged 2 commits intomasterfrom
mdrxy/openrouter-app-categories
Mar 25, 2026
Merged

feat(openrouter): add app_categories field for marketplace attribution#36205
Mason Daugherty (mdrxy) merged 2 commits intomasterfrom
mdrxy/openrouter-app-categories

Conversation

@mdrxy
Copy link
Copy Markdown
Member

Add support for the X-OpenRouter-Categories header via a new app_categories field on ChatOpenRouter, and extract inline client construction into a dedicated _build_client method.

@github-actions github-actions bot added feature For PRs that implement a new feature; NOT A FEATURE REQUEST integration PR made that is related to a provider partner package integration internal openrouter `langchain-openrouter` package issues & PRs size: S 50-199 LOC labels Mar 25, 2026
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Mar 25, 2026

Merging this PR will not alter performance

✅ 1 untouched benchmark
⏩ 39 skipped benchmarks1


Comparing mdrxy/openrouter-app-categories (ddd4f4a) with master (839f1df)

Open in CodSpeed

Footnotes

  1. 39 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@mdrxy Mason Daugherty (mdrxy) merged commit 2a16ee9 into master Mar 25, 2026
23 checks passed
@mdrxy Mason Daugherty (mdrxy) deleted the mdrxy/openrouter-app-categories branch March 25, 2026 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature For PRs that implement a new feature; NOT A FEATURE REQUEST integration PR made that is related to a provider partner package integration internal openrouter `langchain-openrouter` package issues & PRs size: S 50-199 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant