Skip to content

Commit

Permalink
Fix instruct (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-XT authored May 3, 2023
1 parent ed380a9 commit 69874fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AgentLLM.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 69874fa

Please sign in to comment.