Spaces:
Runtime error
Runtime error
Update src/app/api/chat/route.ts
Browse files
src/app/api/chat/route.ts
CHANGED
|
@@ -168,10 +168,6 @@ const getOpenAIStream = async (
|
|
| 168 |
// presence_penalty: 0,
|
| 169 |
stream: true,
|
| 170 |
temperature: temperature ?? 0.5,
|
| 171 |
-
stop_token_ids: [
|
| 172 |
-
128001,
|
| 173 |
-
128009
|
| 174 |
-
]
|
| 175 |
// response_format: {
|
| 176 |
// type: "json_object",
|
| 177 |
// }
|
|
|
|
| 168 |
// presence_penalty: 0,
|
| 169 |
stream: true,
|
| 170 |
temperature: temperature ?? 0.5,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 171 |
// response_format: {
|
| 172 |
// type: "json_object",
|
| 173 |
// }
|