Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

trunk-merge/pr-3532/9d7b5b71-408a-4437-a00e-c27be2b02af8 - #3575

Closed
trunk-io[bot] wants to merge 7 commits into
mainfrom
trunk-merge/pr-3532/9d7b5b71-408a-4437-a00e-c27be2b02af8
Closed

trunk-merge/pr-3532/9d7b5b71-408a-4437-a00e-c27be2b02af8#3575
trunk-io[bot] wants to merge 7 commits into
mainfrom
trunk-merge/pr-3532/9d7b5b71-408a-4437-a00e-c27be2b02af8

Conversation

@trunk-io

@trunk-io trunk-io Bot commented Jul 20, 2026

Copy link
Copy Markdown
Trunk Merge Pull Request Banner

This pull request was created and is being managed by Trunk Merge.

This pull request is based on the main branch at SHA f640f6f2f5bbbdec7b05f1a704f7082dc7bca51a.

See more details here.

When CI completes, this pull request will be closed automatically.

Pull Requests Being Tested

This pull request is testing the changes from pull request 3532.

Twixes and others added 7 commits July 17, 2026 11:31
Sort the model picker by family (tier) first, then oldest-to-newest within each family, instead of by raw version number alone.

Sorting by version alone interleaves families (e.g. a Sonnet 5 lands between Opus versions), which reads as an arbitrary order. Grouping keeps every family contiguous.

Generated-By: PostHog Code
Task-Id: ea8239ab-8fc1-46b7-8dc6-d3661caf8800
Order model families most-capable first (Fable, Opus, Sonnet, Haiku) and display OpenAI/Cloudflare model names with their acronym uppercased (gpt-5.5 -> GPT-5.5, glm-5.2 -> GLM-5.2).

Generated-By: PostHog Code
Task-Id: ea8239ab-8fc1-46b7-8dc6-d3661caf8800
Remove a stray blank line flagged by `biome ci` in the quality check.

Generated-By: PostHog Code
Task-Id: ea8239ab-8fc1-46b7-8dc6-d3661caf8800
Sort each family newest-version-first (so Opus 4.8 sits above 4.7 with Fable at the top of the picker), render OpenAI/Cloudflare model names with the acronym uppercased, version attached, and any codename suffix title-cased (gpt-5.6-sol -> "GPT-5.6 Sol"), and trim the code comments to a minimum.

Generated-By: PostHog Code
Task-Id: ea8239ab-8fc1-46b7-8dc6-d3661caf8800
The Claude adapter's availableModels allowlist rebuilt the picker in the order the models were listed in settings, overriding the family/version sort (Codex, which does not apply the allowlist, was already correct). Re-sort the filtered list with the picker comparator so the allowlist only restricts which models appear, not their order.

Generated-By: PostHog Code
Task-Id: ea8239ab-8fc1-46b7-8dc6-d3661caf8800
Limit acronym uppercasing to GPT and GLM so ordinary Cloudflare model names (e.g. llama-3.1-8b-instruct) are not mangled into misleading all-caps labels. Addresses a Greptile review finding.

Generated-By: PostHog Code
Task-Id: ea8239ab-8fc1-46b7-8dc6-d3661caf8800
@github-actions

Copy link
Copy Markdown

React Doctor found no issues in the changed files. 🎉

Reviewed by React Doctor for commit b3cc808.

@trunk-io trunk-io Bot closed this Jul 20, 2026
@trunk-io
trunk-io Bot deleted the trunk-merge/pr-3532/9d7b5b71-408a-4437-a00e-c27be2b02af8 branch July 20, 2026 08:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant