promptfoo / promptfoo

Test your prompts, agents, and RAGs. Redteaming, pentesting, vulnerability scanning for LLMs. Improve your app's quality and catch problems. Compare performance of GPT, Claude, Gemini, Llama, and more. Simple declarative configs with command line and CI/CD integration.

Home Page:https://www.promptfoo.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: search bar in `promptfoo view`

romaintoub opened this issue · comments

I've noticed a weird behaviour when you enter "**" in the search bar. The web page freezes and returns an error: Application error: a client-side exception has occurred (see the browser console for more information).

image

This is likely because the searchbar supports regex and * will match everything 🙃. Probably a small fix

yea that's why I thought haha, thanks!

Fix released in 0.52.0