leondz / garak

LLM vulnerability scanner
https://discord.gg/uVch4puUCs
Apache License 2.0
1.32k stars 151 forks source link

correct sorting for set json in plugin_cache.json #794

Closed jmartin-tech closed 2 months ago

jmartin-tech commented 2 months ago

Update uses sorted(obj) instead of a post obj.sort() to return the sorted object instead of None due to sort in place.