Skip to content

Custom providers: trigger evals even if yaml config file hasn't changed #294

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tleyden opened this issue Nov 19, 2024 · 0 comments
Open

Comments

@tleyden
Copy link

tleyden commented Nov 19, 2024

I am using a custom provider as follows:


prompts:
  - "dummy_prompt_ignored"  # Dummy prompts, not even used for anything

providers:
  - "file://my_custom_provider.py"

but when I change code in my_custom_provider.py or dependent code, the github action doesn't re-run the evals. Instead it gives this message:

No LLM prompt or config files were modified.

I can trigger it by manually updating the config file with a dummy change. Is there a config option to have it run no matter what?

PS: promptfoo is an awesome tool!

@linear linear bot added the Open Source label Apr 10, 2025
@linear linear bot changed the title Custom providers: trigger evals even if yaml config file hasn't changed Custom providers: trigger evals even if yaml config file hasn't changed Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant