From 21a014790f7f62c9535eb6da70368dce605cf0ec Mon Sep 17 00:00:00 2001 From: Reinier van der Leer Date: Tue, 17 Oct 2023 21:22:23 -0700 Subject: [PATCH] AutoGPT: Prompt tweaks --- autogpts/autogpt/autogpt/agents/prompt_strategies/one_shot.py | 4 ++-- autogpts/autogpt/autogpt/commands/system.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/autogpts/autogpt/autogpt/agents/prompt_strategies/one_shot.py b/autogpts/autogpt/autogpt/agents/prompt_strategies/one_shot.py index 30e35a40..d927d65c 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 d1a879c1..f484d700 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.", {