Skip to content

fix(model-profiles): sort generated profiles by model ID for stable diffs#35344

Merged
Mason Daugherty (mdrxy) merged 3 commits intomasterfrom
mdrxy/model-profiles-sorting
Feb 20, 2026
Merged

fix(model-profiles): sort generated profiles by model ID for stable diffs#35344
Mason Daugherty (mdrxy) merged 3 commits intomasterfrom
mdrxy/model-profiles-sorting

Conversation

@mdrxy
Copy link
Copy Markdown
Member

  • Sort model profiles alphabetically by model ID (the top-level _PROFILES dictionary keys, e.g. claude-3-5-haiku-20241022, gpt-4o-mini) before writing _profiles.py, so that regenerating profiles only shows actual data changes in diffs — not random reordering from the models.dev API response order
  • Regenerate all 10 partner profile files with the new sorted ordering

@github-actions github-actions bot added integration PR made that is related to a provider partner package integration model-profiles `langchain-model-profiles` package issues & PRs anthropic `langchain-anthropic` package issues & PRs deepseek `langchain-deepseek` package issues & PRs fireworks `langchain-fireworks` package issues & PRs groq `langchain-groq` package issues & PRs huggingface `langchain-huggingface` package issues & PRs mistralai `langchain-mistralai` package issues & PRs openai `langchain-openai` package issues & PRs perplexity `langchain-perplexity` package issues & PRs xai `langchain-xai` package issues & PRs openrouter `langchain-openrouter` package issues & PRs fix For PRs that implement a fix internal labels Feb 20, 2026
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Feb 20, 2026

Merging this PR will not alter performance

✅ 16 untouched benchmarks
⏩ 19 skipped benchmarks1


Comparing mdrxy/model-profiles-sorting (245ef13) with master (5362bf5)2

Open in CodSpeed

Footnotes

  1. 19 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.

  2. No successful run was found on master (e95e869) during the generation of this report, so 5362bf5 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@mdrxy Mason Daugherty (mdrxy) merged commit 7019269 into master Feb 20, 2026
173 checks passed
@mdrxy Mason Daugherty (mdrxy) deleted the mdrxy/model-profiles-sorting branch February 20, 2026 04:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

anthropic `langchain-anthropic` package issues & PRs deepseek `langchain-deepseek` package issues & PRs fireworks `langchain-fireworks` package issues & PRs fix For PRs that implement a fix groq `langchain-groq` package issues & PRs huggingface `langchain-huggingface` package issues & PRs integration PR made that is related to a provider partner package integration internal mistralai `langchain-mistralai` package issues & PRs model-profiles `langchain-model-profiles` package issues & PRs openai `langchain-openai` package issues & PRs openrouter `langchain-openrouter` package issues & PRs perplexity `langchain-perplexity` package issues & PRs xai `langchain-xai` package issues & PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant