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

Tool-based actions, env as a tools collection #144

Open
wants to merge 27 commits into
base: main
Choose a base branch
from

Conversation

ollmer
Copy link
Collaborator

@ollmer ollmer commented Dec 12, 2024

This PR is a prerequisite for switching the Gaia agent from the simple browser to the Browsergym (i.e., the full Chromium browser).

  1. introduces base classes for a tool (consumes action, produces observation) and multitool (has an inner state and can consume multiple different actions)
  2. provides universal caching of the tool results
  3. converts search, code executor, calculator old and new browser into new tools/multitools
  4. redefines gaia environment as a collection of tools, new env can route actions accordingly
  5. removes outdated prompts and step types
  6. stores actions in the relevant tools modules and makes them available for any agent, not just gaia.
  7. slightly updated logic of multithreaded locks, should produce less congestion

@ollmer ollmer requested a review from rizar December 12, 2024 15:19
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

Successfully merging this pull request may close these issues.

1 participant