Skip to content
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

Create Tab Tool #617

Open
dhruvahuja19 opened this issue Oct 15, 2024 · 2 comments
Open

Create Tab Tool #617

dhruvahuja19 opened this issue Oct 15, 2024 · 2 comments

Comments

@dhruvahuja19
Copy link

Is your feature request related to a problem? Please describe.
I recently used LaVague in the OpenAI X Pear Hackathon, and realized that LaVague doesn't support the creation of multiple tabs. Despite the existence of the "switch tabs" tool, there isn't a tool to actually create tabs, which makes the existing "switch tabs" tool pretty obselete if we are initializing LaVague with one tab (which seems to be a pretty common occurrence when performing web automations.

Describe the solution you'd like
I've already coded the solution as I needed to create tabs for my hackathon project. It's not too much work; I basically just pattern matched the switch_tabs function. I created a function in base.py, added an elif clause in navigation.py, changed the prompt in world_model, etc.

Additional context
I have it completely working.

@dhruvahuja19
Copy link
Author

I've built it out

@rahul7932
Copy link

I agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants