aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Reinier van der Leer <github@pwuts.nl> 2023-07-20 17:03:52 +0200
committerGravatar GitHub <noreply@github.com> 2023-07-20 17:03:52 +0200
commit08a1e229732e04c33382e80d36f9917a864e410b (patch)
tree7f4d7ae5b7f3230888f4d6f3b8bc62b3f71b5609
parentrunner.cli parsers set as a library (#5021) (diff)
parentUpdate BULLETIN.md and version numbers (#5002) (diff)
downloadAuto-GPT-08a1e229732e04c33382e80d36f9917a864e410b.tar.gz
Auto-GPT-08a1e229732e04c33382e80d36f9917a864e410b.tar.bz2
Auto-GPT-08a1e229732e04c33382e80d36f9917a864e410b.zip
Merge release v0.4.5 back into master (#5020)
-rw-r--r--BULLETIN.md29
-rw-r--r--autogpt/config/config.py17
-rw-r--r--pyproject.toml2
3 files changed, 25 insertions, 23 deletions
diff --git a/BULLETIN.md b/BULLETIN.md
index 117a436a8..a857a7ce1 100644
--- a/BULLETIN.md
+++ b/BULLETIN.md
@@ -4,26 +4,23 @@
📖 *User Guide*: https://docs.agpt.co.
👩 *Contributors Wiki*: https://github.com/Significant-Gravitas/Auto-GPT/wiki/Contributing.
-# v0.4.4 RELEASE HIGHLIGHTS! 🚀
+# v0.4.5 RELEASE HIGHLIGHTS! 🚀
# -----------------------------
-## GPT-4 is back!
-Following OpenAI's recent GPT-4 GA announcement, the SMART_LLM .env setting
-now defaults to GPT-4, and Auto-GPT will use GPT-4 by default in its main loop.
+This release includes under-the-hood improvements and bug fixes, such as more
+accurate token counts for OpenAI functions, faster CI builds, improved plugin
+handling, and refactoring of the Config class for better maintainability.
-### !! High Costs Warning !! 💰💀🚨
-GPT-4 costs ~20x more than GPT-3.5-turbo.
-Please take note of this before using SMART_LLM. You can use `--gpt3only`
-or `--gpt4only` to force the use of GPT-3.5-turbo or GPT-4, respectively,
-at runtime.
+We have also released some documentation updates, including:
-## Re-arch v1 preview release!
-We've released a preview version of the re-arch code, under `autogpt/core`.
-This is a major milestone for us, and we're excited to continue working on it.
-We look forward to your feedback. Follow the process here:
-https://github.com/Significant-Gravitas/Auto-GPT/issues/4770.
+- *How to share your system logs*
+ Visit [docs/share-your-logs.md] to learn how to how to share logs with us
+ via a log analyzer graciously contributed by https://www.e2b.dev/
-## Other highlights
-Other fixes include plugins regressions, Azure config and security patches.
+- *Auto-GPT re-architecture documentation*
+ You can learn more about the inner-workings of the Auto-GPT re-architecture
+ released last cycle, via these links:
+ * [autogpt/core/README.md]
+ * [autogpt/core/ARCHITECTURE_NOTES.md]
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/config/config.py b/autogpt/config/config.py
index b6773511d..02cdbebee 100644
--- a/autogpt/config/config.py
+++ b/autogpt/config/config.py
@@ -290,11 +290,6 @@ class ConfigBuilder(Configurable[Config]):
config_dict["plugins_allowlist"] = _safe_split(os.getenv("ALLOWLISTED_PLUGINS"))
config_dict["plugins_denylist"] = _safe_split(os.getenv("DENYLISTED_PLUGINS"))
- config_dict["plugins_config"] = PluginsConfig.load_config(
- config_dict["plugins_config_file"],
- config_dict["plugins_denylist"],
- config_dict["plugins_allowlist"],
- )
with contextlib.suppress(TypeError):
config_dict["image_size"] = int(os.getenv("IMAGE_SIZE"))
@@ -318,7 +313,17 @@ class ConfigBuilder(Configurable[Config]):
k: v for k, v in config_dict.items() if v is not None
}
- return cls.build_agent_configuration(config_dict_without_none_values)
+ config = cls.build_agent_configuration(config_dict_without_none_values)
+
+ # Set secondary config variables (that depend on other config variables)
+
+ config.plugins_config = PluginsConfig.load_config(
+ config.plugins_config_file,
+ config.plugins_denylist,
+ config.plugins_allowlist,
+ )
+
+ return config
@classmethod
def load_azure_config(cls, config_file: str = AZURE_CONFIG_FILE) -> Dict[str, str]:
diff --git a/pyproject.toml b/pyproject.toml
index 06b2f87f8..f16ee501f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "agpt"
-version = "0.4.4"
+version = "0.4.5"
authors = [
{ name="Torantulino", email="support@agpt.co" },
]