Skip to content

Conversation

@cloudnautique
Copy link
Contributor

The tool names have to be unique, so if two tools are added with the same name, they have a 0 appended to them. In this case we got into an infinite loop because toolName was incremented not the variable under test. So we ended up in an infite loop.

The tool names have to be unique, so if two tools are added with
the same name, they have a 0 appended to them. In this case we
got into an infinite loop because toolName was incremented not the
variable under test. So we ended up in an infite loop.

Signed-off-by: Bill Maxwell <[email protected]>
@cloudnautique cloudnautique merged commit abd8517 into gptscript-ai:main Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants