Spaces:
Sleeping
Sleeping
update
Browse files
app.py
CHANGED
|
@@ -75,8 +75,8 @@ async def proxy_gemini(request: Request, protocol: ProtocolType, host:str, path:
|
|
| 75 |
# 获取API密钥信息
|
| 76 |
api_key_info = await get_api_key_info('gemini-2.5-flash')
|
| 77 |
api_key = api_key_info.get('api_key')
|
| 78 |
-
api_key_show = api_key[:5]+'*****'+api_key[-5:]
|
| 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 |
|
|
|
|
| 75 |
# 获取API密钥信息
|
| 76 |
api_key_info = await get_api_key_info('gemini-2.5-flash')
|
| 77 |
api_key = api_key_info.get('api_key')
|
| 78 |
+
# api_key_show = api_key[:5]+'*****'+api_key[-5:]
|
| 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 |
|