diff --git a/autogpt/agent/agent.py b/autogpt/agent/agent.py index c21f31db..b2470f99 100644 --- a/autogpt/agent/agent.py +++ b/autogpt/agent/agent.py @@ -45,7 +45,7 @@ class Agent: triggering_prompt: The last sentence the AI will see before answering. For Auto-GPT, this prompt is: - Determine which next command to use, and respond using the format specified + Determine exactly one command to use, and respond using the format specified above: The triggering prompt is not part of the system prompt because between the system prompt and the triggering diff --git a/autogpt/prompts/prompt.py b/autogpt/prompts/prompt.py index eeeea3f9..61238657 100644 --- a/autogpt/prompts/prompt.py +++ b/autogpt/prompts/prompt.py @@ -11,9 +11,7 @@ from autogpt.utils import clean_input CFG = Config() -DEFAULT_TRIGGERING_PROMPT = ( - "Determine which next command to use, and respond using the format specified above:" -) +DEFAULT_TRIGGERING_PROMPT = "Determine exactly one command to use, and respond using the format specified above:" def build_default_prompt_generator() -> PromptGenerator: