diff --git a/BULLETIN.md b/BULLETIN.md index ba1de5a1..0b8afeba 100644 --- a/BULLETIN.md +++ b/BULLETIN.md @@ -8,20 +8,15 @@ Since releasing v0.3.0, whave been working on re-architecting the Auto-GPT core Check out the contribution guide on our wiki: https://github.com/Significant-Gravitas/Auto-GPT/wiki/Contributing -# 🚀 v0.4.1 Release 🚀 -Two weeks and 50+ pull requests have passed since v0.4.0, and we are happy to announce the release of v0.4.1! - -Highlights and notable changes since v0.4.0: -- The .env.template is more readable and better explains the purpose of each environment variable. -- More dependable search - - The CUSTOM_SEARCH_ENGINE_ID variable has been replaced to GOOGLE_CUSTOM_SEARCH_ENGINE_ID, make sure you update it. -- Better read_file -- More reliable python code execution -- Lots of JSON error fixes -- Directory-based plugins - -## Further fixes and changes 🛠️ -Under the hood, we've done a bunch of work improving architectures and streamlining code. Most of that won't be user-visible +# 🚀 v0.4.3 Release 🚀 +We're happy to announce the 0.4.3 maintenance release, which primarily focuses on refining the LLM command execution, +extending support for OpenAI's latest models (including the powerful GPT-3 16k model), and laying the groundwork +for future compatibility with OpenAI's function calling feature. +Key Highlights: +- OpenAI API Key Prompt: Auto-GPT will now courteously prompt users for their OpenAI API key, if it's not already provided. +- Summarization Enhancements: We've optimized Auto-GPT's use of the LLM context window even further. +- JSON Memory Reading: Support for reading memories from JSON files has been improved, resulting in enhanced task execution. +- Deprecated commands, removed for a leaner, more performant LLM: analyze_code, write_tests, improve_code, audio_text, web_playwright, web_requests ## Take a look at the Release Notes on Github for the full changelog! https://github.com/Significant-Gravitas/Auto-GPT/releases diff --git a/autogpt/main.py b/autogpt/main.py index 3c1f722d..0217507a 100644 --- a/autogpt/main.py +++ b/autogpt/main.py @@ -139,6 +139,20 @@ def run_auto_gpt( for command_category in enabled_command_categories: command_registry.import_commands(command_category) + # Unregister commands that are incompatible with the current config + incompatible_commands = [] + for command in command_registry.commands.values(): + if callable(command.enabled) and not command.enabled(config): + command.enabled = False + incompatible_commands.append(command) + + for command in incompatible_commands: + command_registry.unregister(command.name) + logger.debug( + f"Unregistering incompatible command: {command.name}, " + f"reason - {command.disabled_reason or 'Disabled by current config.'}" + ) + ai_name = "" ai_config = construct_main_ai_config(config) ai_config.command_registry = command_registry diff --git a/pyproject.toml b/pyproject.toml index 741dce1f..b0aea625 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "agpt" -version = "0.4.2" +version = "0.4.3" authors = [ { name="Torantulino", email="support@agpt.co" }, ]