Skip to content

fix(models): allow removing imported Magpie models - #3864

Merged
wgqqqqq merged 1 commit into
mainfrom
wgq/magpie-cancel-model
Nov 11, 2026
Merged

wgqqqqq merged 1 commit into
mainfrom
wgq/magpie-cancel-model

Conversation

@wgqqqqq

@wgqqqqq wgqqqqq commented Nov 10, 2026

Copy link
Copy Markdown
Collaborator

Problem

Magpie models already imported into OpenBitFun were rendered as checked and disabled in the discovery panel. There was no action to cancel that model selection or remove the imported model from the connection.

Change

  • Add a remove action to each imported Magpie model row.
  • Route removal through the existing model deletion flow, including reference checks and confirmation handling.
  • Recompute imported state from the current model configuration so the row updates immediately after removal.
  • Add coverage to the Magpie settings loading test.

Validation

  • pnpm --dir src/web-ui run test:run src/app/scenes/settings/pages/ai/ModelSettingsPage.loading.test.tsx src/infrastructure/config/services/magpieModels.test.ts src/infrastructure/api/adapters/peer-device-adapter.test.ts src/infrastructure/peer-device/PeerConnectionManager.test.ts
    • 201 passed.
  • git diff --check

This PR was AI-assisted and tested with the focused Web UI suite.

@wgqqqqq
wgqqqqq merged commit 57afe3d into main Nov 11, 2026
9 checks passed
@wgqqqqq
wgqqqqq deleted the wgq/magpie-cancel-model branch November 11, 2026 05:14
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