Skip to content

Commit 1d22462

Browse files
committed
wip: strip file extension from local tool paths at ui startup
Signed-off-by: Nick Hale <[email protected]>
1 parent d6fc958 commit 1d22462

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/cli/gptscript.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ func (r *GPTScript) Run(cmd *cobra.Command, args []string) (retErr error) {
329329
}
330330

331331
// If the user is trying to launch the chat-builder UI, then set up the tool and options here.
332+
// TODO(njhale): Strip .gpt suffix for local file paths only
332333
if r.UI {
333334
args = append([]string{env.VarOrDefault("GPTSCRIPT_CHAT_UI_TOOL", "github.com/gptscript-ai/ui@v2")}, args...)
334335

0 commit comments

Comments
 (0)