Skip to content

fix(models): sync local selections across account mode - #305

Merged
syzsunshine219 merged 1 commit into
MemTensor:v1.1.1from
EF1874:codex/restore-local-embedding-v1.1.1
Aug 26, 2026
Merged

fix(models): sync local selections across account mode#305
syzsunshine219 merged 1 commit into
MemTensor:v1.1.1from
EF1874:codex/restore-local-embedding-v1.1.1

Conversation

@EF1874

@EF1874 EF1874 commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • synchronize the full selected local/BYOK Agent model set between account and local modes on login and logout
  • sync the local fallback model back into account mode after all account BYOK models were cleared, while preserving a valid local default
  • refresh the canonical model catalog after authentication and during authenticated startup so stale projections are repaired immediately
  • preserve mode-isolated model assignments, embedding selection, and newer account sessions during logout races

Verification

  • Backend account/model/runtime tests: 53 passed
  • Migration suite: 116 passed
  • Frontend model/login/settings/auth tests: 114 passed
  • Backend lint and typecheck passed
  • Desktop production build passed

@EF1874
EF1874 requested review from ZongYue99 and hijzy as code owners August 26, 2026 06:29
@syzsunshine219
syzsunshine219 merged commit 1226efe into MemTensor:v1.1.1 Aug 26, 2026
2 of 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.

2 participants