diff --git a/internal/bundler/upgrade.go b/internal/bundler/upgrade.go index db0eecd6..c60f690c 100644 --- a/internal/bundler/upgrade.go +++ b/internal/bundler/upgrade.go @@ -167,6 +167,9 @@ func getSDKVersionJavascript(ctx BundleContext) (*semver.Version, error) { } func getSDKVersionPython(ctx BundleContext) (*semver.Version, error) { + if util.Exists(filepath.Join(ctx.ProjectDir, "agentuity")) { + return semver.NewVersion("0.0.0-prerelease") + } uvlock := filepath.Join(ctx.ProjectDir, "uv.lock") if !util.Exists(uvlock) { return nil, fmt.Errorf("uv.lock not found: %s", uvlock)