mirror of
https://github.com/invariantlabs-ai/invariant-gateway.git
synced 2026-10-04 12:06:48 +02:00
Update open_ai.py
This commit is contained in:
1 parent
95ed80a8cd
commit
099bc05d8d
1 file changed
+1
-1
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user