ethz-spylab/satml-llm-ctf

Error 403 when requesting all attacks

Closed this issue · 5 comments

Same problem as #43 but for different endpoint.

Can you please clarify which endpoint you are talking about, and which response you are getting?

It's the /chat/attacks endpoint. The error is 403: "detail": "Not superuser"

Thanks a lot, I found it and I am working on a fix. I may need to change the endpoint name.

The issue should be solved now, but I had to rename the endpoint from /chat/attacks to /chat/attack/. Now it also takes a parameter evaluation to get only the evaluation chats once the evaluation phase will start. Sorry for the inconvenience!

Let me know if you still see the error

Error is gone.