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: hide builtin tool actions #1257

Merged
merged 2 commits into from
Jan 14, 2025

Conversation

ryanhopperlowe
Copy link
Contributor

@ryanhopperlowe ryanhopperlowe commented Jan 14, 2025

  • hides builtin tool actions from the tools page
  • prevents stale data from preemptively stopping tool polling after refresh

@@ -28,6 +28,8 @@ export function ToolCardActions({ tool }: { tool: ToolReference }) {
}
);

if (tool.builtin) return null;
Copy link
Contributor

Choose a reason for hiding this comment

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

Making self note to tweak and account for with #1038 Guessing we don't want to show "Refresh Tool" option for built-in tools?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

correct!

@ryanhopperlowe ryanhopperlowe merged commit d8b494b into obot-platform:main Jan 14, 2025
2 checks passed
@ryanhopperlowe ryanhopperlowe deleted the fix-tool-actions branch January 14, 2025 21:58
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.

2 participants