Skip to content

Drop composer hop pin when Settings listing changes - #76

Merged
NeilJo-GY merged 1 commit into
mainfrom
feat/composer-listing-drops-pin
Sep 5, 2026
Merged

Drop composer hop pin when Settings listing changes#76
NeilJo-GY merged 1 commit into
mainfrom
feat/composer-listing-drops-pin

Conversation

@NeilJo-GY

Copy link
Copy Markdown
Contributor

Summary

  • Persist the last Settings listing per chat in sessionStorage, not only an in-memory ref, so a listing change still drops the composer hop pin after reload.
  • First load after this ships: if the stored pin is not the current listing, treat it as a listing change (clears the stale glm-5 pin on Comiclaw). Later hops keep an explicit pick until listing changes again.

Test plan

  • Open Comiclaw: Settings default is Flash; composer should follow Flash after a refresh (stale glm-5 pin gone).
  • Pick glm-5 in composer, send; bubble/runtime stay glm-5.
  • Owner Save default to another BYO model; this chat’s composer pin drops to the new listing on the next model-status load (or refresh).
  • Official hop pin in a chat still drops if the BYO listing changes (intentional; re-pick official).

Made with Cursor

The last listing lived only in a ref, so a stale session pin (glm-5) survived after the default moved to Flash.
@vercel

vercel Bot commented Sep 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
interfaze Ready Ready Preview Sep 5, 2026 2:28pm UTC

@NeilJo-GY
NeilJo-GY merged commit 1bfae57 into main Sep 5, 2026
3 checks passed
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