From 6e65013479df9343123b5afdc8d527b12b5709cc Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Tue, 16 Jan 2024 11:26:46 +0100 Subject: [PATCH] Update main.py fixed log bug --- 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 5a01ca5..086b075 100644 --- a/ollama_proxy_server/main.py +++ b/ollama_proxy_server/main.py @@ -120,6 +120,7 @@ def main(): # Apply the queuing mechanism only for a specific endpoint. if path == '/api/generate': que = min_queued_server[1]['queue'] + client_ip, client_port = self.client_address self.add_access_log_entry(user=self.user, ip_address=client_ip, access="Authorized", server=min_queued_server[0]) que.put_nowait(1) try: