Skip to content

Commit

Permalink
fix(prompt): file list
Browse files Browse the repository at this point in the history
  • Loading branch information
nsarrazin committed Jul 30, 2024
1 parent 0be4244 commit 0f84dd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/server/textGeneration/tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ export async function* runTools(
id: crypto.randomUUID(),
from: "system",
content:
"Here is the list of available files that can be used for tools. Only use the filenames that are in this list, do not try to guess the filename. \n - " +
"Here is the list of available filenames that can be used as inputs. Only use the filenames that are in this list. \n - " +
files.join("\n - ") +
"\n",
"\n\n\n",
} satisfies Message;

// put fileMsg before last if files.length > 0
Expand Down

0 comments on commit 0f84dd2

Please sign in to comment.