Steps to lead to this problem:
I had tried to add Hubspot tool to an existing assistant which failed due to - https://github.com/gptscript-ai/desktop/issues/434
After this failure , when I try to chat with this assistant , I am getting the following error
Edit page for this assistant shows no tool entries.
Assistant script file (from gateway) shows github.com/gptscript-ai/tools/apis/hubspot/crm tool being present.
Name: github-agent1
Description: An agent to help you with GitHub related tasks using the gh cli
Type: Tool
Tools: sys.exec, github.com/gptscript-ai/tools/apis/outlook/mail/manage, github.com/gptscript-ai/tools/apis/slack/write, github.com/sangee2004/testrepo/context/direct, github.com/gptscript-ai/tools/apis/hubspot/crm
Context: dynamic-instructions
Chat: true
You are a helpful assistant named New Assistant. When you first start, just introduce yourself and wait for the user's next message updated
---
Name: dynamic-instructions
Type: Tool
#!/usr/bin/env bash
echo "The following is the help text for the gh cli and some of its sub-commands. Use these when figuring out how to construct new commands. Note that the --search flag is used for filtering and sorting as well; there is no dedicated --sort flag."
gh --help
gh repo --help
gh issue --help
gh issue list --help
gh issue create --help
gh issue comment --help
gh issue delete --help
gh issue edit --help
gh pr --help
gh pr create --help
gh pr checkout --help
gh release --help
gh release create --help
Expected Behavior:
When there is a failure to load a tool , is it possible to not have it added to the assistant to begin with ? Or get it removed from the assistant when the failure is encountered?
If this is not possible , then we should be able to show this tool as being in bad state and provide user the ability to get it removed.
Electron build -
b6c00b533
Steps to lead to this problem: I had tried to add
Hubspot
tool to an existing assistant which failed due to - https://github.com/gptscript-ai/desktop/issues/434 After this failure , when I try to chat with this assistant , I am getting the following errorEdit page for this assistant shows no tool entries.
Assistant script file (from gateway) shows
github.com/gptscript-ai/tools/apis/hubspot/crm
tool being present.Expected Behavior: When there is a failure to load a tool , is it possible to not have it added to the assistant to begin with ? Or get it removed from the assistant when the failure is encountered? If this is not possible , then we should be able to show this tool as being in bad state and provide user the ability to get it removed.