Spaces:
Running
Running
update
Browse files
app.py
CHANGED
|
@@ -80,5 +80,7 @@ async def proxy_gemini(request: Request, protocol: ProtocolType, host:str, path:
|
|
| 80 |
client_headers["Authorization"] = api_key
|
| 81 |
api_key_id = api_key_info.get('api_key_id')
|
| 82 |
|
|
|
|
|
|
|
| 83 |
# 调用 do_proxy 并返回其结果
|
| 84 |
return await do_proxy(real_url, request.method, client_headers, client_body)
|
|
|
|
| 80 |
client_headers["Authorization"] = api_key
|
| 81 |
api_key_id = api_key_info.get('api_key_id')
|
| 82 |
|
| 83 |
+
print(client_headers)
|
| 84 |
+
|
| 85 |
# 调用 do_proxy 并返回其结果
|
| 86 |
return await do_proxy(real_url, request.method, client_headers, client_body)
|