Skip to content

Commit 7a26ca0

Browse files
author
prima
committed
feat: Tweak to prompting to hopefully improve consistency
1 parent 1e63e96 commit 7a26ca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

klite.embd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26405,7 +26405,7 @@ else
2640526405
// https://github.com/Wladastic/mini_autogpt is the original repo for these prompts - They have been modified with some attempted improvements. It is MIT licensed.
2640626406
let getCommandsAsText = (commands = getEnabledCommands()) => {
2640726407
return commands.map(command => {
26408-
let baseCommand = `Command: ${command.name}\nDescription: ${command.description}\nIs output visible to user: ${!!command?.outputVisibleToUser}`
26408+
let baseCommand = `Command: ${command.name} (command output is ${!!command?.outputVisibleToUser ? "visible" : "invisible"} to the user)\nDescription: ${command.description}`
2640926409
if (!!command.args)
2641026410
{
2641126411
let args = Object.keys(command.args).map(key => {

0 commit comments

Comments
 (0)