Validation: Remove invalid "fix" actions
@Prajna1999 ci sta già lavorando.
Dal 22/7/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Is your feature request related to a problem?
Some validators incorrectly flag the entire string and return an empty response when the "fix" on fail action is not applicable. This leads to user confusion and an inability to handle failures correctly.
Describe the solution you'd like
- Identify validators that have the "fix" on fail action but do not accept it.
- Remove the "fix" on fail action from those validators.
- Implement an error message to prompt users to change the on_fail action to exception.
Original issue
Describe the bug
A clear and concise description of what the bug is.
There are some validators where the "fix" on fail action will not work. It will flag the entire string as the culprit and return an empty string as the response. So, determine which are the validators with this behavior and add remove this action from those validators.
Basically, if "fix" is added in the validator which doesn't accept it, we throw an error which nudges the user to update the on_fail action to exception.
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
- Lingua principale
- Python
- Stelle
- 5
- Fork
- 3
- Merge medio
- 9g 13h
- PR unite (30g)
- 2
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ProjectTech4DevAI/kaapi-guardrails
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 65/100
-
ProjectTech4DevAI/kaapi-guardrails#158 · 1 assegnatario ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
Tutte le issue di ProjectTech4DevAI/kaapi-guardrails
Issue simili
-
bug confirmed issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
open-webui/open-webui#30750 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100