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.

AutoGPT: Prompt tweaks

Reinier van der Leer21a014790f7f
diff --git a/autogpts/autogpt/autogpt/agents/prompt_strategies/one_shot.py b/autogpts/autogpt/autogpt/agents/prompt_strategies/one_shot.py
index 30e35a404e..d927d65ce9 100644
--- a/autogpts/autogpt/autogpt/agents/prompt_strategies/one_shot.py
+++ b/autogpts/autogpt/autogpt/agents/prompt_strategies/one_shot.py
@@ -308,8 +308,8 @@ class OneShotAgentPromptStrategy(PromptStrategy):
)
return (
- f"Respond strictly with JSON{', and also specify a command to use through a function_call' if use_functions_api else ''}. "
- "The JSON should be compatible with the TypeScript type `Response` from the following:\n"
+ f"Respond strictly with a JSON object{' containing your thoughts, and a function_call specifying the next command to use' if use_functions_api else ''}. "
+ "The JSON object should be compatible with the TypeScript type `Response` from the following:\n"
f"{response_format}"
)
diff --git a/autogpts/autogpt/autogpt/commands/system.py b/autogpts/autogpt/autogpt/commands/system.py
index d1a879c139..f484d700d7 100644
--- a/autogpts/autogpt/autogpt/commands/system.py
+++ b/autogpts/autogpt/autogpt/commands/system.py
@@ -21,7 +21,7 @@ logger = logging.getLogger(__name__)
@command(
"finish",
- "Use this to shut down once you have accomplished all of your goals,"
+ "Use this to shut down once you have completed your task,"
" or when there are insurmountable problems that make it impossible"
" for you to finish your task.",
{