-
Notifications
You must be signed in to change notification settings - Fork 12
Dynamically adding tools does not properly handle Share Context #259
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
Comments
This is one of the workflows were we see the
This behavior of needing to ask it to explicitly use |
I'm assigning to myself because I guess the best way forward with this is, as @thedadams mentioned, to support dynamic tool adding in core gptscript. So, I'll talk to @ibuildthecloud about this on monday and see where he wants to go with it. |
fixed in core gptscript here: gptscript-ai/gptscript#827 |
Testing desktop app with gptscript version - I am still able to reproduce the issue with having to ask Knowledge tool to used explicitly when testing the scenario outlined in #259 (comment) . This might be relating to issue - #272. When I tried again with another knowledge file, I was able to get the Knowledge tool to get invoked without having to ask it to use knowledge explicitly. Also I see the workspace context being used in the stack trace view. I will also test cases mentioned in https://github.com/g-linville/context-testing |
When testing scenarios by adding the tools dynamically to a thread using "Add Tool" from https://github.com/g-linville/context-testing , following are the observations made:
When adding tool - When adding tool - |
Closing this issue as per testing based on #259 (comment). |
Best example of this is the knowledge tool, which has this line:
Grant put together tests here:
'https://github.com/g-linville/context-testing
Follow up question: does Share Tools work? seems like it does, but we should verify
The text was updated successfully, but these errors were encountered: