This commit enhances the `RestApiUtility` class to support multiple base URLs by incorporating an `ApiType` enum parameter in its methods. The changes include: 1. `_agentBaseUrl`: The base URL for the agent-related API calls. 2. `_benchmarkBaseUrl`: A hard-coded base URL for benchmark-related API calls. 3. `_getEffectiveBaseUrl`: A new private method that determines the effective base URL based on the given `ApiType`. All public methods (`get`, `post`, `getBinary`) have been updated to include an optional `ApiType` parameter, which defaults to `ApiType.agent`. Based on this parameter, `_getEffectiveBaseUrl` is called to decide the base URL for the HTTP request. This change allows for flexible API calls without the need to instantiate multiple `RestApiUtility` objects for different services.
🌟 AutoGPT: the heart of the open-source agent ecosystem
AutoGPT is your go-to toolkit for supercharging agents. With its modular and extensible framework, you're empowered to focus on:
- 🏗️ Building - Lay the foundation for something amazing.
- 🧪 Testing - Fine-tune your agent to perfection.
- 👀 Viewing - See your progress come to life.
Be part of the revolution! AutoGPT stays at the forefront of AI innovation, featuring the codebase for the reigning champion in the Open-Source ecosystem.
We're hosting a Hackathon!
Click the banner above for details and registration!
🥇 Current Best Agent: AutoGPT
Among our currently benchmarked agents, AutoGPT scores the best. This will change after the hackathon - the top-performing generalist agent will earn the esteemed position as the primary AutoGPT 🎊
📈 To enter, submit your benchmark run through the UI.
🌟 Quickstart
- Jumpstart your journey! 🌠 To activate the best agent, follow the guide here.
Want to build your own groundbreaking agent using AutoGPT? 🛠️ Fork this repository! Detailed guidance is on the way. There are three major components to focus on:
🏗️ the Forge
Forge your future! The forge is your innovation lab. All the boilerplate code is already handled, letting you channel all your creativity into building a revolutionary agent. It's more than a starting point, it's a launchpad 🚀 for your ideas.
🎯 the Benchmark
Test to impress! The benchmark offers a stringent testing environment. Our framework allows for autonomous, objective performance evaluations, ensuring your agents are primed for real-world action.
🎮 the UI
Take Control! The frontend is your personal command center. It gives you a user-friendly interface to control and monitor your agents, making it easier to bring your ideas to life.
🔄 Agent Protocol
🔌 Standardize to Maximize! To maintain a uniform standard and ensure seamless compatibility, AutoGPT employs the agent protocol from the AI Engineer Foundation. This standardizes the communication pathways from your agent to the frontend and benchmark.
🤔 Questions? Problems? Suggestions?
Get help - Discord 💬
To report a bug or request a feature, create a GitHub Issue. Please ensure someone else hasn’t created an issue for the same topic.