-
Notifications
You must be signed in to change notification settings - Fork 2.9k
feat(openai): add support for shell tool #9579
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
feat(openai): add support for shell tool #9579
Conversation
🦋 Changeset detectedLatest commit: 7940bb0 The changes in this PR will be included in the next version bump. This PR includes changesets to release 5 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
hntrl
left a comment
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.
Think we do this already, but with these server tool changes we should make sure that the useResponsesApi logic in ChatOpenAI works appropriately when tools like these are passed. (I expect this to work for a bunch of tools already, but I'm less confident that its up to date)
3f26729 to
83baa41
Compare
ccc10a6 to
3dcb195
Compare
3118869 to
7940bb0
Compare
9ac949f
into
cb/openai-apply-patch-tool
This PR adds support for OpenAI's Shell tool, which allows
gpt-5.1models to execute shell commands through the Responses API. Unlike the existinglocalShelltool (designed for Codex CLI), this tool supports executing multiple commands concurrently and uses a different interface optimized for the newer model.Usage
Key Differences from
localShelllocalShellshellcodex-mini-latestgpt-5.1ShellResult