Skip to content

Commit abd8517

Browse files
Merge pull request #460 from cloudnautique/main
fix: infinite loop while creating gptscript toolset based on name
2 parents 4e6b095 + 1e08c1c commit abd8517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/types/toolname.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,6 @@ func PickToolName(toolName string, existing map[string]struct{}) string {
9292
existing[testName] = struct{}{}
9393
return testName
9494
}
95-
toolName += "0"
95+
testName += "0"
9696
}
9797
}

0 commit comments

Comments
 (0)