https://promptfoo.dev/ logo
Config error with 0.118.3
# questions
q
I just upgraded to the latest promptfoo and I'm getting a new error ConfigPermissionError: Permission denied: config unknown: You need to upgrade to an enterprise license to access this feature Simplified view of my config:
Copy code
prompts:
  - "{{problem_description}}"

providers: # A single enabled custom Python provider
  - id: file://promptfoo/promptfoo_classifier_provider.py
    label: gpt5-only
    config:
      enabled_providers: ["gpt-5"]
      decision_mode: "first"
      taxonomy_name: "default"
      include_debug_details: true
      cache_enabled: true

tests: promptfoo/OSB_sample_data_mini.csv
# tests: promptfoo/OSB_sample_data.csv

defaultTest:
  assert:
    - type: javascript
      value: |
        // actual JS test here
this worked in 0.118.0, seems to fail in 0.118.3. downgrading to 0.118.0 seems to get things working again, so maybe just a bug? i didn't see a related issue in GitHub yet and it's also possible I just have weird syntax that I should fix
u
@quintens what's the command you're running?, can you run it in verbose and paste in the whole debug log?
I'm assuming the problem is the
config
parameter which on the 0.118.0 version is passing through fine to my custom provider.py
u
i think this is on our side, let me try and push a fix real quick and have you try again
I'll need about 15 minutes to get it out
q
Amazing. And thanks for this awesome tool! Using it to test AI safety for vulnerable legal aid client population
u
@quintens should be good now
q
yes, it looks like the newest install works. thanks again