airsltd commited on
Commit
372baeb
·
1 Parent(s): 6bf6a3f
Files changed (1) hide show
  1. proxyserver-fastapi.py +1 -1
proxyserver-fastapi.py CHANGED
@@ -100,7 +100,7 @@ async def proxy_request(url_path: str, request: Request):
100
  # headers["postman-token"]="ad3552d5-c379-4ec0-ae86-9b26cc59bb4b"
101
  headers["user-agent"]="PostmanRuntime/7.45.0"
102
  # headers["x-amzn-trace-id"]="Root=1-68a054e2-78a54d08502e945f387c1952"
103
- # headers["x-direct-url"]="https://airsltd-fastapi-proxy.hf.space/--replicas/pn6yq/v1/https/generativelanguage.googleapis.com/v1beta/openai/chat/completions"
104
 
105
  # headers["x-forwarded-for"]="45.144.242.202"
106
  # headers["x-forwarded-port"]="443"
 
100
  # headers["postman-token"]="ad3552d5-c379-4ec0-ae86-9b26cc59bb4b"
101
  headers["user-agent"]="PostmanRuntime/7.45.0"
102
  # headers["x-amzn-trace-id"]="Root=1-68a054e2-78a54d08502e945f387c1952"
103
+ headers["x-direct-url"]="https://airsltd-fastapi-proxy.hf.space/--replicas/pn6yq/v1/https/generativelanguage.googleapis.com/v1beta/openai/chat/completions"
104
 
105
  # headers["x-forwarded-for"]="45.144.242.202"
106
  # headers["x-forwarded-port"]="443"