Compare commits

...

1 Commits

Author SHA1 Message Date
claude[bot]
ecc1fa375e fix: Make 'Customize agent' links versionless in Library
Remove flowVersion parameter from agent edit/customize links in Library views
so users are always directed to the latest version of the agent.

Fixes #10847

Co-authored-by: Toran Bruce Richards <Torantulino@users.noreply.github.com>
2025-10-06 15:31:39 +00:00
4 changed files with 4 additions and 4 deletions

View File

@@ -92,7 +92,7 @@ export function AgentActionsDropdown({ agent }: Props) {
<DropdownMenuContent align="end">
<DropdownMenuItem asChild>
<Link
href={`/build?flowID=${agent.graph_id}&flowVersion=${agent.graph_version}`}
href={`/build?flowID=${agent.graph_id}`}
target="_blank"
className="flex items-center gap-2"
>

View File

@@ -39,7 +39,7 @@ export function useScheduleDetailHeader(
deleteMutation.mutate({ scheduleId });
}
const openInBuilderHref = `/build?flowID=${agentGraphId}&flowVersion=${agentGraphVersion}`;
const openInBuilderHref = `/build?flowID=${agentGraphId}`;
return {
deleteSchedule,

View File

@@ -68,7 +68,7 @@ export function ScheduleActions({ agent, scheduleId, onDeleted }: Props) {
variant="secondary"
size="small"
as="NextLink"
href={`/build?flowID=${agent.graph_id}&flowVersion=${agent.graph_version}`}
href={`/build?flowID=${agent.graph_id}`}
>
<PencilSimpleIcon size={16} /> Edit agent
</Button>

View File

@@ -448,7 +448,7 @@ export function OldAgentLibraryView() {
() => [
{
label: "Customize agent",
href: `/build?flowID=${agent?.graph_id}&flowVersion=${agent?.graph_version}`,
href: `/build?flowID=${agent?.graph_id}`,
disabled: !agent?.can_access_graph,
},
{ label: "Export agent to file", callback: downloadGraph },