Spaces:
Running
Running
update
Browse files
app.py
CHANGED
|
@@ -79,8 +79,6 @@ async def proxy_gemini(request: Request, protocol: ProtocolType, host:str, path:
|
|
| 79 |
print(f"使用API密钥:{api_key_show}")
|
| 80 |
client_headers["Authorization"] = api_key
|
| 81 |
api_key_id = api_key_info.get('api_key_id')
|
| 82 |
-
return "123123123"
|
| 83 |
|
| 84 |
-
# return api_key_info
|
| 85 |
# 调用 do_proxy 并返回其结果
|
| 86 |
return await do_proxy(real_url, request.method, client_headers, client_body)
|
|
|
|
| 79 |
print(f"使用API密钥:{api_key_show}")
|
| 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)
|