https://promptfoo.dev/ logo
Feature or bug ? 🤔 (default var string replacemen...
# ❓|questions
n
When retrieving those vars from a python script, the {{VAR}} are not replaced by the correct variables. Is it intended ? https://cdn.discordapp.com/attachments/1268856890927087636/1268856891132481546/image.png?ex=66adf291&is=66aca111&hm=bb207d6ccb112f9452df36733332f0ed0142c767c6025db5335ea45d061f7bd7&
i
ah I saw this after my other response to you
I wonder if there's an issue because it's a nested object. I am pretty sure it is supported if
messages
is a string it would definitely make sense to support nested substitutions
n
Ok ok, I’ll try with a json which means that it won’t be nested then 🤔 And if not working I’ll go with a string for now
Thanks !
2 Views