ethz-spylab / satml-llm-ctf

Code used to run the platform for the LLM CTF colocated with SaTML 2024
https://ctf.spylab.ai
MIT License
23 stars 5 forks source link

Error 403 when requesting all attacks #44

Closed TimVanhamme closed 7 months ago

TimVanhamme commented 7 months ago

Same problem as #43 but for different endpoint.

dedeswim commented 7 months ago

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

epistoteles commented 7 months ago

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

dedeswim commented 7 months ago

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

dedeswim commented 7 months ago

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

TimVanhamme commented 7 months ago

Error is gone.