Skip to content

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.

Fixes bug in agent manager: model "model" does not exist.

Torantulinoef60a3127eca
diff --git a/AutonomousAI/agent_manager.py b/AutonomousAI/agent_manager.py
index 20b5884186..a1d789e0c9 100644
--- a/AutonomousAI/agent_manager.py
+++ b/AutonomousAI/agent_manager.py
@@ -12,7 +12,7 @@ def create_agent(task, prompt, model):
# Start GTP3 instance
response = openai.ChatCompletion.create(
- model="model",
+ model=model,
messages=messages,
)