aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Nicholas Tindle <nicholas.tindle@agpt.co> 2024-04-22 09:15:54 -0500
committerGravatar Nicholas Tindle <nicholas.tindle@agpt.co> 2024-04-22 09:15:54 -0500
commitb215505c05cdce5a52c3859e6190cd77c8fab04c (patch)
tree1301cb64f5fe72f06d12e33957d68b0ed583a491
parentfix: isort after merge (diff)
downloadAuto-GPT-b215505c05cdce5a52c3859e6190cd77c8fab04c.tar.gz
Auto-GPT-b215505c05cdce5a52c3859e6190cd77c8fab04c.tar.bz2
Auto-GPT-b215505c05cdce5a52c3859e6190cd77c8fab04c.zip
fix: incorrectly refactored param template-> template_name
-rw-r--r--autogpts/forge/forge/agent.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogpts/forge/forge/agent.py b/autogpts/forge/forge/agent.py
index 6ba1184db..b4ddb70df 100644
--- a/autogpts/forge/forge/agent.py
+++ b/autogpts/forge/forge/agent.py
@@ -152,7 +152,7 @@ class ForgeAgent(Agent):
# return step
prompt_engine = PromptEngine(model="gpt-4-turbo-preview")
- system_prompt = prompt_engine.load_prompt(template="system-format")
+ system_prompt = prompt_engine.load_prompt(template_name="system-format")
# Define the task parameters
task_kwargs = {
"task": task.input,