llama-gemma / patch_auth_test40.py
Leon4gr45's picture
Upload folder using huggingface_hub
063a506 verified
Raw History Blame Contribute Delete
478 Bytes
with open("gateway.py", "r") as f:
code = f.read()
# Let's fix `get_is_authenticated` to properly handle anonymous requests.
# Wait, my fix for "optional" mode was lost again?
# Oh, I reverted my fix when I did `git reset --hard HEAD`!
# Let me re-apply the optional auth fix!
# And wait! What about the `llama_auth_headers()` fix that I made in `patch_auth_test38.py`?
# I committed it in `dd9af4307b04acc8c3c579a4da7a92c5e61c2799`, which is the latest commit (I think?).