main
zc 1 month ago
parent 6a6158b3be
commit 423310d198
  1. 4
      app/api/chat/ai/chat_router.py

@ -44,8 +44,8 @@ async def h5_chat_stream(request: Request, inp: ChatIn):
if not verify_signature(inp.dict(), inp.sign):
raise HTTPException(status_code=401, detail="无效的签名")
if not verify_timestamp(inp.timestamp):
raise HTTPException(status_code=401, detail="时间戳无效")
# if not verify_timestamp(inp.timestamp):
# raise HTTPException(status_code=401, detail="时间戳无效")
if inp.language is None:
inp.language = "zh_cn"

Loading…
Cancel
Save