Spaces:
Sleeping
Sleeping
T1ckbase
commited on
Commit
·
91cb296
1
Parent(s):
3474a0b
delete body.max_tokens;
Browse files
main.ts
CHANGED
|
@@ -46,6 +46,7 @@ app.post('/v1/chat/completions', async (c) => {
|
|
| 46 |
|
| 47 |
const body = await c.req.json();
|
| 48 |
// body.max_tokens = 33554432;
|
|
|
|
| 49 |
|
| 50 |
console.log('body:', body);
|
| 51 |
|
|
|
|
| 46 |
|
| 47 |
const body = await c.req.json();
|
| 48 |
// body.max_tokens = 33554432;
|
| 49 |
+
delete body.max_tokens;
|
| 50 |
|
| 51 |
console.log('body:', body);
|
| 52 |
|