Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -726,8 +726,14 @@ export function AgentInstanceEditDialog({
autoRestartOnConfigChange,
);
}
// Rename saved locally, but the relay may still hold the old kind:0
// profile (stale @mention resolution and From: lines). Re-saving won't
// retry — name_changed compares against the already-updated record —
// but an agent start will, via reconcile_agent_profile.
if (result.profileSyncError) {
console.warn("Relay profile sync failed:", result.profileSyncError);
toast.warning(
`${result.agent.name} was saved, but relay profile sync failed: ${result.profileSyncError}. The relay may still show the old name — restart the agent to retry the sync.`,
);
}
handleOpenChange(false);
onUpdated?.(result.agent);
Expand Down