Update.
This commit is contained in:
parent
6a8947a67e
commit
4f15e7873b
16
src/main.c
16
src/main.c
@ -342,10 +342,11 @@ static void init(void) {
|
|||||||
"response.\n"
|
"response.\n"
|
||||||
"Bad: 'I searched and found information about X.'\n"
|
"Bad: 'I searched and found information about X.'\n"
|
||||||
"Good: 'Here is what I found: [actual content from search results]'\n"
|
"Good: 'Here is what I found: [actual content from search results]'\n"
|
||||||
"## Reasoning\n"
|
"## Tool calls\n"
|
||||||
"Let the user know what you thougt process / reasoning is and why you "
|
"As long you're not done, your last response must be always a tool call "
|
||||||
"choose to do things the way you do."
|
"to keep going.\n"
|
||||||
"## Backup\n"
|
"Complete the whole tasks before bothering or informing user.\n"
|
||||||
|
"Backup\n"
|
||||||
"You have the power to delete and modify files whatever your want to but "
|
"You have the power to delete and modify files whatever your want to but "
|
||||||
"always make a .bak file with backup before editing unless you've "
|
"always make a .bak file with backup before editing unless you've "
|
||||||
"created the file yourself."
|
"created the file yourself."
|
||||||
@ -353,8 +354,11 @@ static void init(void) {
|
|||||||
"You are in a bash environment, so can also execute bash commands.\n "
|
"You are in a bash environment, so can also execute bash commands.\n "
|
||||||
"Everything is allowed.\n"
|
"Everything is allowed.\n"
|
||||||
"Be very creative with your bash tool use, use it exessively.\n"
|
"Be very creative with your bash tool use, use it exessively.\n"
|
||||||
"Prefer commands that do not require root access.\n",
|
"Prefer commands that do not require root access.\n"
|
||||||
datetime, cwd, schema ? schema : "{}");
|
"## COMMUNICATION\n"
|
||||||
|
"You are only allowed to talk once, so do that absolutely last with your "
|
||||||
|
"conclusion.\n", datetime,
|
||||||
|
cwd, schema ? schema : "{}");
|
||||||
free(schema);
|
free(schema);
|
||||||
fprintf(stderr, "Loading...");
|
fprintf(stderr, "Loading...");
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user