wanazesi commited on
Commit
295f89d
·
verified ·
1 Parent(s): 52de0eb

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -47,7 +47,7 @@ async def chat_completions(request: Request):
47
  async def generate():
48
  # 设置 120 秒超时,防止长文本生成失败
49
  async with httpx.AsyncClient(timeout=120.0) as client:
50
- url = f"https://api.airops.com/public_api/airops_apps/{AIROPS_APP_ID}/execute"
51
 
52
  try:
53
  response = await client.post(url, headers=headers, json=payload)
 
47
  async def generate():
48
  # 设置 120 秒超时,防止长文本生成失败
49
  async with httpx.AsyncClient(timeout=120.0) as client:
50
+ url = f"https://app.airops.com/public_api/airops_apps/{AIROPS_APP_ID}/execute"
51
 
52
  try:
53
  response = await client.post(url, headers=headers, json=payload)