mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-19 15:04:26 +01:00
AutoGPT: Prompt tweaks
This commit is contained in:
@@ -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}"
|
||||
)
|
||||
|
||||
|
||||
@@ -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.",
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user