I am trying to get a list of the ui.vision macros in a specific sub folder and assign that list to a variable. I Prompted Anthropic API and the answer I got back first included a command extractmacro that doesn’t actually exist (or maybe it’s outdated). The answer I received after I tweaked my prompt included an internal variable ${!folder_list}. This too doesn’t appear to be a valid internal variable. I wonder where Claude is getting these commands and variables? Are they old ones that have been deprecated?
You can find the complete list of Ui.Vision internal variables here.
An internal variable called ${!folder_list} never existed. Unfortunately that is a good example of “ai hallucination”.
1 Like