T1ckbase commited on
Commit
d07388b
·
1 Parent(s): 862d774
Files changed (1) hide show
  1. main.ts +1 -1
main.ts CHANGED
@@ -48,7 +48,7 @@ app.post('/v1/chat/completions', async (c) => {
48
  return await fetch(targetUrl, {
49
  method: 'POST',
50
  headers: headers,
51
- body: body,
52
  });
53
  });
54
 
 
48
  return await fetch(targetUrl, {
49
  method: 'POST',
50
  headers: headers,
51
+ body: JSON.stringify(body),
52
  });
53
  });
54