feat(THU-619): allow editing custom agents in settings#1009
Open
raivieiraadriano92 wants to merge 1 commit into
Open
feat(THU-619): allow editing custom agents in settings#1009raivieiraadriano92 wants to merge 1 commit into
raivieiraadriano92 wants to merge 1 commit into
Conversation
Semgrep Security ScanNo security issues found. |
|
Preview environment deployed 🚀
Stack: Auto-destroys on PR close/merge. Login via the bundled Keycloak realm — |
PR Metrics
Updated Thu, 18 Jun 2026 22:02:19 GMT · run #1961 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an Edit action to custom agents in settings so users can update an existing agent's config (name, system prompt, model, tools) without deleting and re-adding it.
AddCustomAgentDialogreused for both add and edit; opens prefilled when editing.AgentList→ settings page mutation.Fixes THU-619.
Note
Low Risk
Scoped to settings UI and local updates on user-owned custom agents, reusing the same URL validation and connection-test gate as create.
Overview
Users can edit their own custom remote agents from Agents settings instead of deleting and re-adding them.
A pencil action appears on user-owned custom rows (same rules as delete). It opens the existing
AddCustomAgentDialogin edit mode: copy switches to “Edit Custom Agent” / Save Changes, fields are prefilled from the agent, and Test Connection is still required before save. The settings page trackseditingAgent, remounts the dialog viakeywhen switching agents, andhandleSubmitcallsupdateAgentfor edits vscreateAgentfor add.Reducer
RESETnow restores create vs edit seed state viabuildInitialState.Reviewed by Cursor Bugbot for commit de6135f. Bugbot is set up for automated code reviews on this repo. Configure here.