Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: address issues with how parameters work for subtools #465

Merged
merged 3 commits into from
Sep 10, 2024

Conversation

tylerslaton
Copy link
Contributor

This fixes a few things relating to how setting parameters for sub tools work. It removed the "plus" button as well as the "enter" keybinding for new params. Instead, there is a new button to add params. This improves the UX since many users were getting confused why their params were not automatically persisting.

Screenshot 2024-09-09 at 12 20 10 PM

There was another confusing issue where tools without chat would have the chat bar enabled. This has been addressed and looks like the following.

Screenshot 2024-09-09 at 12 21 55 PM

There is a third issue here where the running of this tool does not actually requests the user to input their parameters. This will be fixed in a follow-up to minimize the size of this PR. That change will take some work.

#413

@tylerslaton tylerslaton requested review from StrongMonkey, thedadams, njhale and ryanhopperlowe and removed request for StrongMonkey and thedadams September 9, 2024 16:23
@tylerslaton tylerslaton marked this pull request as ready for review September 9, 2024 16:23
@tylerslaton tylerslaton changed the title Issue 413 fix: address issues with how parameters work for subtools Sep 9, 2024
Copy link
Contributor

@thedadams thedadams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the chat component, disableInput and noChat are the same parameter, and it sounds like we don't need both.

@tylerslaton
Copy link
Contributor Author

@thedadams I added what I mentioned earlier. Can you take a look and see if you like it better?

@tylerslaton tylerslaton merged commit 0c81151 into gptscript-ai:main Sep 10, 2024
1 check passed
@tylerslaton tylerslaton deleted the issue-413 branch September 10, 2024 16:27
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.

3 participants