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 (
|
return (
|
||||||
f"Respond strictly with JSON{', and also specify a command to use through a function_call' if use_functions_api else ''}. "
|
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 should be compatible with the TypeScript type `Response` from the following:\n"
|
"The JSON object should be compatible with the TypeScript type `Response` from the following:\n"
|
||||||
f"{response_format}"
|
f"{response_format}"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ logger = logging.getLogger(__name__)
|
|||||||
|
|
||||||
@command(
|
@command(
|
||||||
"finish",
|
"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"
|
" or when there are insurmountable problems that make it impossible"
|
||||||
" for you to finish your task.",
|
" for you to finish your task.",
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user