From 69874fa8405ca124ead29ca80d734963cec6de93 Mon Sep 17 00:00:00 2001 From: Josh XT <102809327+Josh-XT@users.noreply.github.com> Date: Wed, 3 May 2023 06:49:55 -0400 Subject: [PATCH] Fix instruct (#207) --- AgentLLM.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AgentLLM.py b/AgentLLM.py index afd4d8313552..fc1c4e7f2214 100644 --- a/AgentLLM.py +++ b/AgentLLM.py @@ -96,7 +96,7 @@ def run( prompt = self.get_prompt_with_context(task=task, context=context) if instruction: # Command and prompt injection for instruction mode - instruction_prompt = self.INSTRUCT_PROMPT + instruction_prompt = self.CFG.INSTRUCT_PROMPT prompt = instruction_prompt.replace("{task}", task) prompt = prompt.replace("{AGENT_NAME}", self.agent_name)