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

Use anthropic and groq-based model with Agent-E #107

Merged
merged 13 commits into from
Nov 4, 2024

Conversation

Adefioye
Copy link
Contributor

@Adefioye Adefioye commented Oct 20, 2024

As a developer, I want to be able to use anthropic and groq-based models to experiment with Agent-E.

  • Added libraries for for autogen to be able to use anthropic and groq-based models.
  • Added examples in the agents_llm_config-example.json.
  • Created run.sh file to run python -m -u ae.main

@teaxio teaxio changed the base branch from master to dev October 29, 2024 20:01
@deepak-akkil
Copy link
Collaborator

Tested with gpt-4o-mini for any regressions and with anthropic 3.5 haiku. Works great. with both The models behave slightly differently and anthropic seems to many times go beyond what is expected in the task (e.g. try to check out from amazon when the task is add product to cart etc). It suggests it might benefit from a custom prompting.

If grok works as expected, i think this PR can be merged. Thanks @Adefioye !

@teaxio
Copy link
Collaborator

teaxio commented Nov 4, 2024

@Adefioye this seems to work all around and does not break original Agent-E thank you. I will merge it.
One thing to note, making this work anthropic LLMs would be most advantageous for project adoption. I think if you want, you can fiddle with the prompts for both planner and browser nav till they work with something like Haiku. Once they do, you can commit that prompt in the example file agents_llm_config-example.json (adding it to the entries that you made). With groq I kept getting rate limited, so I tested as much as I could, but it shows good promise.

@teaxio teaxio merged commit 1496219 into EmergenceAI:dev Nov 4, 2024
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.

4 participants