AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
Use correct reference to prompt_generator in autogpt/llm/chat.py (#4011)
Tomasz Kasperczyk0166eacb2b64
diff --git a/autogpt/llm/chat.py b/autogpt/llm/chat.pyindex 8f7f7d50fb..a59fe73e9d 100644--- a/autogpt/llm/chat.py+++ b/autogpt/llm/chat.py@@ -200,7 +200,7 @@ def chat_with_ai(if not plugin.can_handle_on_planning():continueplugin_response = plugin.on_planning(- agent.prompt_generator, current_context+ agent.config.prompt_generator, current_context)if not plugin_response or plugin_response == "":continue