From 099bc05d8d10c73496fe43e67b577f225f852aeb Mon Sep 17 00:00:00 2001 From: Hemang Sarkar Date: Fri, 31 Jan 2025 15:24:28 +0100 Subject: [PATCH] Update open_ai.py --- proxy/routes/open_ai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/routes/open_ai.py b/proxy/routes/open_ai.py index 8cd3b80..b670e60 100644 --- a/proxy/routes/open_ai.py +++ b/proxy/routes/open_ai.py @@ -8,7 +8,7 @@ import httpx from fastapi import APIRouter, Depends, Header, HTTPException, Request, Response from utils.explorer import push_trace -ALLOWED_OPEN_AI_ENDPOINTS = {"chat/completions", "moderations"} +ALLOWED_OPEN_AI_ENDPOINTS = {"chat/completions"} IGNORED_HEADERS = [ "accept-encoding", "host",