diff --git a/pkg/cli/gptscript.go b/pkg/cli/gptscript.go index 4fbfc5e8..c0eb1dee 100644 --- a/pkg/cli/gptscript.go +++ b/pkg/cli/gptscript.go @@ -330,7 +330,7 @@ func (r *GPTScript) Run(cmd *cobra.Command, args []string) (retErr error) { // If the user is trying to launch the chat-builder UI, then set up the tool and options here. if r.UI { - args = append([]string{env.VarOrDefault("GPTSCRIPT_CHAT_UI_TOOL", "github.com/gptscript-ai/ui@v0.8.1")}, args...) + args = append([]string{env.VarOrDefault("GPTSCRIPT_CHAT_UI_TOOL", "github.com/gptscript-ai/ui@v2")}, args...) // If args has more than one element, then the user has provided a file. if len(args) > 1 {