ScottLogic / prompt-injection

Application which investigates defensive measures against prompt injection attacks on an LLM, with a focus on the exposure of external tools.
MIT License
13 stars 9 forks source link

824: bugfix for level queryparam #855

Closed chriswilty closed 4 months ago

chriswilty commented 4 months ago

Description

Fixes a bug in which the level param was not parsed into a number before checking, so the level endpoint always failed with 400 response.

Related to #824 and #842

Checklist

Have you done the following?