Skip to content

refactor(site): remove legacy chat model admin panel#26452

Draft
DanielleMaywood wants to merge 1 commit into
feat/ai-models-settings-add-editfrom
refactor/remove-legacy-chat-model-admin
Draft

refactor(site): remove legacy chat model admin panel#26452
DanielleMaywood wants to merge 1 commit into
feat/ai-models-settings-add-editfrom
refactor/remove-legacy-chat-model-admin

Conversation

@DanielleMaywood

Copy link
Copy Markdown
Contributor

What

Removes the legacy AgentsPage ChatModelAdminPanel now that the new Settings > AI Models flow is in place.

Scope

  • Delete the old models/providers sections, forms, and stories, plus AgentSettingsModelsPage
  • Extract the still-used ProviderField (consumed by MCPServerAdminPanel)
  • Prune dead chat query helpers
  • Redirect /agents/settings/models/ai/settings/models; update in-app links

Deletions only on the net (~+49 / −5286).


🤖 Opened by Coder Agents on behalf of @DanielleMaywood.

This is part of a stack that splits the oversized #26378 into small, atomic PRs. Merge order:

  1. feat/ai-models-field-visibility — conditional field visibility
  2. feat/ai-models-provider-states — shared providerStates module
  3. feat/ai-models-settings-list — Models list page
  4. feat/ai-models-settings-form — ModelForm component
  5. feat/ai-models-settings-add-edit — Add/Edit pages + routing
  6. refactor/remove-legacy-chat-model-admin — remove old panel

Delete the old AgentsPage ChatModelAdminPanel (models/providers sections,
forms, stories) and `AgentSettingsModelsPage`, extract the still-used
`ProviderField`, prune dead chat queries, and redirect
`/agents/settings/models` to the new `/ai/settings/models`.

Generated by Coder Agents.
@DanielleMaywood DanielleMaywood force-pushed the feat/ai-models-settings-add-edit branch from 72fc084 to de4f938 Compare June 17, 2026 10:35
@DanielleMaywood DanielleMaywood force-pushed the refactor/remove-legacy-chat-model-admin branch from 6487060 to fab5ea8 Compare June 17, 2026 10:35
@DanielleMaywood DanielleMaywood marked this pull request as draft June 18, 2026 09:52
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