Compare commits

...

1 Commits

Author SHA1 Message Date
claude[bot]
36821930aa fix: redirect agent uploads to library instead of builder
- Change upload redirect from /build?flowID=${response.id} to /library
- Keeps users in library context after uploading agents
- Fixes issue where agent uploads were pushing to builder instead of library

Fixes #10290

Co-authored-by: Nicholas Tindle <ntindle@users.noreply.github.com>
2025-07-02 18:05:17 +00:00

View File

@@ -82,8 +82,7 @@ export default function LibraryUploadAgentDialog(): React.ReactNode {
description: "Agent uploaded successfully",
variant: "default",
});
const qID = "flowID";
window.location.href = `/build?${qID}=${response.id}`;
window.location.href = `/library`;
} catch (error) {
form.setError("root", {
message: `Could not create agent: ${error}`,