Spaces:
Sleeping
Sleeping
T1ckbase
commited on
Commit
·
a898362
1
Parent(s):
b8d4ac0
max_tokens
Browse files
main.ts
CHANGED
|
@@ -35,7 +35,7 @@ app.post('/v1/chat/completions', async (c) => {
|
|
| 35 |
|
| 36 |
const clonedRequest = await c.req.raw.clone();
|
| 37 |
const body = await clonedRequest.json();
|
| 38 |
-
|
| 39 |
console.log(body);
|
| 40 |
|
| 41 |
const headers = new Headers(c.req.raw.headers);
|
|
|
|
| 35 |
|
| 36 |
const clonedRequest = await c.req.raw.clone();
|
| 37 |
const body = await clonedRequest.json();
|
| 38 |
+
body.max_tokens = 33554432;
|
| 39 |
console.log(body);
|
| 40 |
|
| 41 |
const headers = new Headers(c.req.raw.headers);
|