-
Notifications
You must be signed in to change notification settings - Fork 2.9k
feat(langchain): add computer use tool #9564
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(langchain): add computer use tool #9564
Conversation
🦋 Changeset detectedLatest commit: 5bc2c23 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 |
582f3f4 to
5dcb483
Compare
1920329 to
2cf29c2
Compare
| const res2 = await model.invoke(messages); | ||
| expect( | ||
| res2.response_metadata?.usage.prompt_tokens_details.cached_tokens | ||
| (res2.response_metadata?.usage as any).prompt_tokens_details.cached_tokens |
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.
how come these are needed?
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.
since this code is touching openai code, it runs the integration test which have been failing for me in CI
83d519c to
62eff6b
Compare
ffc80be to
ee42538
Compare
cea766c to
5bc2c23
Compare
5bc2c23
into
cb/openai-image-generation
Adds a new
computerUsetool for the OpenAI provider, enabling thecomputer-use-previewmodel to control computer interfaces through mouse clicks, keyboard input, scrolling, and more.Usage