Update main.py

This commit is contained in:
Saifeddine ALOUI 2024-01-22 09:32:03 +01:00 committed by GitHub
parent 34274ee0a7
commit 82fa250ba8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -48,6 +48,8 @@ def main():
args = parser.parse_args()
servers = get_config(args.config)
authorized_users = get_authorized_users(args.users_list)
print("Ollama Proxy server")
print("Author: ParisNeo")
class RequestHandler(BaseHTTPRequestHandler):
def add_access_log_entry(self, event, user, ip_address, access, server, nb_queued_requests_on_server, error=""):