"Error: Content-Type is not application/json, but body is an object or array. The body must be a string if the Content-Type is not application/json.\n\nError: Content-Type is not application/json, but body is an object or array. The body must be a string if the Content-Type is not application/json.\n at HttpProvider.validateContentTypeAndBody (/usr/local/Cellar/promptfoo/0.94.0/libexec/lib/node_modules/promptfoo/dist/src/providers/http.js:134:19)\n at HttpProvider.callApi (/usr/local/Cellar/promptfoo/0.94.0/libexec/lib/node_modules/promptfoo/dist/src/providers/http.js:160:14)\n at runRedteamConversation (/usr/local/Cellar/promptfoo/0.94.0/libexec/lib/node_modules/promptfoo/dist/src/redteam/providers/iterative.js:75:49)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Evaluator.runEval (/usr/local/Cellar/promptfoo/0.94.0/libexec/lib/node_modules/promptfoo/dist/src/evaluator.js:172:28)\n at async processEvalStep (/usr/local/Cellar/promptfoo/0.94.0/libexec/lib/node_modules/promptfoo/dist/src/evaluator.js:535:25)","gradingResult":null,"id":"8e45f565-5219-4257-94b8-44e7bbb7065c",