https://promptfoo.dev/ logo
latest version broken
# ❓|questions
p
"" node:fs:456 return binding.readFileUtf8(path, stringToFlags(options.flag)); ^ Error: ENOENT: no such file or directory, open
i
need more information on how to reproduce this error
p
npx promptfoo@latest eval , this command gives me error if i remove latest it works fine npx promptfoo eval
i
I need an example config so I can run this on my side
p
I am using a custom python provider
prompts: questions.txt providers: - 'exec: python provider/api_provider.py' defaultTest: vars: assert: - type: not-icontains value: 'sorry' options: provider: 'provider/azureProvider.js'
actually file://../. i was using this for my files but after version 44 it started breaking
@ian
i
oh, you mean the provider was specified as
file://provider/azureProvider.js
?
p
Actually Initially it was like file://provider/azureProvider.js but later i have to use file://../provider/azureProvider.js but again now it works as file://provider/azureProvider.js after build 44
i
ok, so sounds like build 44 had an issue and it's ok now 👍