You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
addThought(createSysPrompt, `Setting overview has been overwritten`)
25890
25920
}
@@ -26023,47 +26053,47 @@ else
26023
26053
}
26024
26054
},
26025
26055
{
26026
-
"name": "analyse_image",
26027
-
"description": "Produces a description about an image using AI based on a prompt and an input image. Will prompt the user to select an image to analyse.",
26028
-
"args": {
26029
-
"prompt": "<prompt to query image about>"
26030
-
},
26031
-
"enabled": is_using_kcpp_with_llava(), // Only enabled if local endpoint exists / is in use
26032
-
"executor": async (action) => {
26033
-
let analysisPrompt = "Describe the image in detail. Transcribe and include any text from the image in the description."
"description": "Produces a description about an image using AI based on a prompt and an input image. Will prompt the user to select an image to analyse. It does not provide the original prompt used to generate the image.",
26058
+
"args": {
26059
+
"prompt": "<prompt to query image about>"
26060
+
},
26061
+
"enabled": is_using_kcpp_with_llava(), // Only enabled if local endpoint exists / is in use
26062
+
"executor": async (action) => {
26063
+
let analysisPrompt = "Describe the image in detail. Transcribe and include any text from the image in the description."
addThought(createSysPrompt, `User did not select an image - no image analysed`)
26065
26092
}
26093
+
i2i64 = undefined;
26094
+
waitingFori2iSelection = false;
26066
26095
}
26096
+
}
26067
26097
},
26068
26098
{
26069
26099
"name": "generate_image",
@@ -26079,6 +26109,7 @@ else
26079
26109
description: "<aspect ratio - must be \"landscape\", \"portrait\" or \"square\">"
26080
26110
}
26081
26111
},
26112
+
"outputVisibleToUser": true,
26082
26113
"enabled": localsettings.generate_images_mode == 2, // Only enabled if local endpoint exists / is in use
26083
26114
"executor": async (action) => {
26084
26115
let prompt = action?.args?.prompt
@@ -26171,6 +26202,7 @@ else
26171
26202
"args": {
26172
26203
"textToSay": "<text to say>"
26173
26204
},
26205
+
"outputVisibleToUser": true,
26174
26206
"enabled": localsettings.speech_synth == KCPP_TTS_ID, // Only enabled if local endpoint exists / is in use
26175
26207
"executor": (action) => {
26176
26208
let textToSay = action?.args?.textToSay
@@ -26373,7 +26405,7 @@ else
26373
26405
// 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.
26374
26406
let getCommandsAsText = (commands = getEnabledCommands()) => {
26375
26407
return commands.map(command => {
26376
-
let baseCommand = `Command: ${command.name}\nDescription: ${command.description}`
26408
+
let baseCommand = `Command: ${command.name}\nDescription: ${command.description}\nIs output visible to user: ${!!command?.outputVisibleToUser}`
26377
26409
if (!!command.args)
26378
26410
{
26379
26411
let args = Object.keys(command.args).map(key => {
@@ -26858,33 +26890,6 @@ let checkFinalThoughtsPrompt = `Action: {"command":{"name":"thought","args":{"me
0 commit comments