mirror of
https://github.com/ParisNeo/ollama_proxy_server.git
synced 2026-01-13 14:18:00 -05:00
AttributeError: 'RequestHandler' object has no attribute 'user' #23
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @changchiyou on 2/20/2024
config.inicommend
Error Log
My Research
c6aee7e671/ollama_proxy_server/main.py (L108)The if-logic above is incorrect, because
self._validate_user_and_key()would not be execute while the first expressionnot deactivate_securityis notTrue.I fix the problem via assign initial value to
self.user: