From 55c6545b95ac0bea53efed5092610c7c72b4ed87 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Fri, 1 Mar 2024 23:19:58 +0100 Subject: [PATCH] Update main.py --- ollama_proxy_server/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ollama_proxy_server/main.py b/ollama_proxy_server/main.py index 894e729..fa8a914 100644 --- a/ollama_proxy_server/main.py +++ b/ollama_proxy_server/main.py @@ -105,6 +105,7 @@ def main(): return False def proxy(self): + self.user = "unknown" if not deactivate_security and not self._validate_user_and_key(): ASCIIColors.red(f'User is not authorized') client_ip, client_port = self.client_address