Update open_ai.py

This commit is contained in:
Hemang Sarkar
2025-01-31 15:24:28 +01:00
committed by GitHub
parent 95ed80a8cd
commit 099bc05d8d
+1 -1
View File
@@ -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",