Skip to content
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

fix: Including prompt extraction broke redteam generation #1494

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

sklein12
Copy link
Contributor

No description provided.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@sklein12 sklein12 force-pushed the fix/generating-redteam-cases branch from a35830e to d895290 Compare August 21, 2024 17:27
@sklein12 sklein12 merged commit f0bed5c into main Aug 21, 2024
14 checks passed
@sklein12 sklein12 deleted the fix/generating-redteam-cases branch August 21, 2024 17:33
@Mohit-Gaur
Copy link

@sklein12 Do you know if this fix will be included in a release in the near future?

I am facing the following error while running redteam generate even though the systemPrompt is configured.
Error: Invariant failed: `systemPrompt` config is required for `prompt-extraction` plugin

@typpo
Copy link
Contributor

typpo commented Aug 22, 2024

@Mohit-Gaur I believe this fix is included in 0.80.1

@Mohit-Gaur
Copy link

Ah ok. I am still facing this issue in 0.80.1. Guess I'll create a new issue

@typpo
Copy link
Contributor

typpo commented Aug 22, 2024

I think this should fix: #1505

@Mohit-Gaur
Copy link

Gotcha thanks @typpo

@typpo
Copy link
Contributor

typpo commented Aug 22, 2024 via email

Din-m-shin pushed a commit to Din-m-shin/promptfoo that referenced this pull request Aug 26, 2024
Din-m-shin pushed a commit to Din-m-shin/promptfoo that referenced this pull request Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants