Yifei Zhang 2 年之前
父節點
當前提交
76ef5ef9a9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/api/common.ts

+ 1 - 1
app/api/common.ts

@@ -25,6 +25,6 @@ export async function requestOpenai(req: NextRequest) {
     },
     method: req.method,
     body: req.body,
-    duplex: !!req.body,
+    duplex: !!req.body ? "half" : "",
   });
 }