移除调试日志打印代码
This commit is contained in:
parent
9632a8f0dc
commit
ea22d62c25
1 changed files with 3 additions and 3 deletions
|
|
@ -674,9 +674,9 @@ def create_app(args):
|
|||
|
||||
@app.post("/api/chat")
|
||||
async def chat(raw_request: Request, request: OllamaChatRequest):
|
||||
# 打印原始请求数据
|
||||
body = await raw_request.body()
|
||||
logging.info(f"收到 /api/chat 原始请求: {body.decode('utf-8')}")
|
||||
# # 打印原始请求数据
|
||||
# body = await raw_request.body()
|
||||
# logging.info(f"收到 /api/chat 原始请求: {body.decode('utf-8')}")
|
||||
"""Handle chat completion requests"""
|
||||
try:
|
||||
# 获取所有消息内容
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue