-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
core[minor]: RunnableToolLike #6029
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -16,7 +16,7 @@ import { | |||
ToolDefinition, |
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.
Hey team, just wanted to flag this PR for your review as it includes a change that imports the getEnvironmentVariable
function, which may be used to access or read environment variables. It's always good to double-check any changes related to environment variables. Keep up the great work!
Adds new
RunnableToolLike
class for converting tools -> runnables.Updates base
bindTools
implementation to takeRunnableToolLike
Updates all integrations which implement
bindTools
to also acceptRunnableToolLike
Updates convert to oai tool/function to also accept
RunnableToolLike
(this should mean no additional work is required to accept this tool type in integrations)docs pr: #6030
part of #6031