Spaces:
Sleeping
Sleeping
update
Browse files
proxy.py
CHANGED
|
@@ -21,7 +21,7 @@ async def do_proxy(url: str, method: str, headers: dict, content: str, max_retri
|
|
| 21 |
try:
|
| 22 |
async with httpx.AsyncClient() as client:
|
| 23 |
for attempt in range(max_retries):
|
| 24 |
-
logger.info(f"接收到的内容: {content}")
|
| 25 |
try:
|
| 26 |
content_json = json.loads(content)
|
| 27 |
model_name = content_json.get('model')
|
|
|
|
| 21 |
try:
|
| 22 |
async with httpx.AsyncClient() as client:
|
| 23 |
for attempt in range(max_retries):
|
| 24 |
+
# logger.info(f"接收到的内容: {content}")
|
| 25 |
try:
|
| 26 |
content_json = json.loads(content)
|
| 27 |
model_name = content_json.get('model')
|