sam2ai commited on
Commit
d892dd7
·
verified ·
1 Parent(s): bc89eb0

Update src/app/api/chat/route.ts

Browse files
Files changed (1) hide show
  1. src/app/api/chat/route.ts +4 -0
src/app/api/chat/route.ts CHANGED
@@ -168,6 +168,10 @@ const getOpenAIStream = async (
168
  // presence_penalty: 0,
169
  stream: true,
170
  temperature: temperature ?? 0.5,
 
 
 
 
171
  // response_format: {
172
  // type: "json_object",
173
  // }
 
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
  // }