Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -135,7 +135,7 @@ async def create_embedding(
|
|
| 135 |
raise HTTPException(status_code=500, detail=error_msg)
|
| 136 |
|
| 137 |
# 健康检查接口也打印完整请求
|
| 138 |
-
@app.
|
| 139 |
async def v1_check(request: Request):
|
| 140 |
logger.info("\n===== v1请求信息 =====")
|
| 141 |
logger.info(f"请求方法: {request.method}")
|
|
|
|
| 135 |
raise HTTPException(status_code=500, detail=error_msg)
|
| 136 |
|
| 137 |
# 健康检查接口也打印完整请求
|
| 138 |
+
@app.post("/v1/embeddings")
|
| 139 |
async def v1_check(request: Request):
|
| 140 |
logger.info("\n===== v1请求信息 =====")
|
| 141 |
logger.info(f"请求方法: {request.method}")
|