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

enhance: upgrade edit page to use same tool catalog as chat page #406

Conversation

ryanhopperlowe
Copy link
Contributor

No description provided.

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.

Three additional pieces of feedback I have from running this:

  1. When I click on "Featured Tools", I get a nice pop up. I would expect to be able to dismiss this popup by click "outside" of it (or somewhere in the app that is not the popup). I am only able to dismiss it by selecting a tool or by hitting Esc on my keyboard.
  2. When I click "Add Tool via URL", an input modal pops up. When I enter a URL and hit Enter, the modal immediately disappears. It should stay visible until it is determined that the URL I entered actually works.
  3. There is no validation done when adding a tool via URL. There was validation added in this PR: fix: try parsing tools added by URL to detect errors #397. Now, when I add a URL that doesn't exist (like github.com/thedadams/dne), I get into a bad state when I reload the chat, as described in this issue: If I add a tool by URL and the url is bad/incorrect, I get in a bad state #296. The linked PR also fixed this problem.

components/chat/chatBar/CatalogListBox.tsx Show resolved Hide resolved
components/edit/configure.tsx Show resolved Hide resolved
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.

I see that a comment was added, but it looks like the functionality hasn't changed and still causes regressions.

@thedadams
Copy link
Contributor

Looks good after error is fixed.

@ryanhopperlowe
Copy link
Contributor Author

Looks good after error is fixed.

@thedadams I found that I was able to fix the error by upgrading the Typescript version, so I opted for that instead :)

@ryanhopperlowe ryanhopperlowe force-pushed the enhance/edit-tool-catalog-improvement branch from 0361321 to fd92257 Compare September 5, 2024 15:51
@ryanhopperlowe ryanhopperlowe merged commit 29efc78 into gptscript-ai:main Sep 5, 2024
1 check passed
@ryanhopperlowe ryanhopperlowe deleted the enhance/edit-tool-catalog-improvement branch September 5, 2024 16:02
{
name: 'Hubspot',
description: 'Allows the assistant to interact with Hubspot.',
url: 'github.com/gptscript-ai/tools/apis/hubspot/crm',
Copy link
Member

Choose a reason for hiding this comment

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

i have already fixed this, but just fyi the split has happened and this is no longer the correct url. its now github.com/gptscript-ai/tools/apis/hubspot/crm/write

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