Closed albertlieyingadrian closed 1 month ago
Tried setting up outputPath in the config as both string and array of string following this guide https://www.promptfoo.dev/docs/configuration/parameters/#output-file. However, both didn't work
tests: - file://datasets/customer/mini_default_test.yaml outputPath: - reports/customer_output.html # outputPath: 'reports/customer.html'
Suspect that it is caused by outputPath is not read in readConfigs function
outputPath
readConfigs
https://github.com/promptfoo/promptfoo/blob/e6089ec7594282f9be6094a52e8483e044cd7e78/src/config.ts#L357-L390
@mldangelo I went ahead with a PR https://github.com/promptfoo/promptfoo/pull/1734
Shipped in 0.89.4!
Tried setting up outputPath in the config as both string and array of string following this guide https://www.promptfoo.dev/docs/configuration/parameters/#output-file. However, both didn't work
Suspect that it is caused by
outputPath
is not read inreadConfigs
functionhttps://github.com/promptfoo/promptfoo/blob/e6089ec7594282f9be6094a52e8483e044cd7e78/src/config.ts#L357-L390