-
Notifications
You must be signed in to change notification settings - Fork 15
chore(toolbox-core): Create helper sync tool and sync client protected methods to load tools and return future #234
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
Conversation
d12c73e
to
7c61263
Compare
b55bf7a
to
266291e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we get some more explanation? Why do we want to expose these are properties? Do we need to access them outside of the class? What's an example of the intended use?
My concern is we are taking internal implementation details and turning them into public APIs, which limits how we can change things in the future.
7c61263
to
4b52872
Compare
897f627
to
4351473
Compare
4b52872
to
09c0de1
Compare
These properties are intended for use in an upcoming PR (#229) where we wrap Added this to the PR's description as well. |
Thanks for the additional context. I looked at the other PR and am concerned it's not the right approach. Can we just use Alternatively, we could add async functions to the sync classes so they can be used for both. |
12c725b
to
65e8fab
Compare
09c0de1
to
090a02a
Compare
Thanks for the suggestions. I resonate more with adding async functions to sync classes (I've made them protected funcs for now), and was able to remove the properties that expose internal state. Hope that alleviates your concerns 🙂 |
090a02a
to
c6e67f5
Compare
0a9cc0e
to
2f29249
Compare
This change introduces a warning that is displayed immediately before a tool invocation if: 1. The invocation includes an authentication header. 2. The connection is being made over non-secure HTTP. > [!IMPORTANT] The purpose of this warning is to alert the user to the security risk of sending credentials over an unencrypted channel and to encourage the use of HTTPS.
2f29249
to
6ead1af
Compare
6ead1af
to
0754b99
Compare
Per offline discussion, we are changing the approach to use |
This change adds protected helper methods to return a future while loading tool/toolset.
These helpers are intended for use in an upcoming PR (#229) where we wrap
toolbox-langchain
ontotoolbox-core
.