Pepguy commited on
Commit
eee307e
·
verified ·
1 Parent(s): 778d61f

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +2 -1
app.js CHANGED
@@ -245,9 +245,10 @@ app.post('/api/chats/:id/stream', async (req, res) => {
245
  system:[{ text: system_prompt || CLAUDE_SYSTEM_PROMPT }],
246
  messages: historicalMessages,
247
  inferenceConfig: { maxTokens: commandMaxTokens, temperature: 1 },
248
- additionalModelRequestFields: model.includes("claude") ? {
249
  thinking: { type: "adaptive" }
250
  } : undefined
 
251
  });
252
 
253
  const response = await bedrockClient.send(command, { abortSignal: abortController.signal });
 
245
  system:[{ text: system_prompt || CLAUDE_SYSTEM_PROMPT }],
246
  messages: historicalMessages,
247
  inferenceConfig: { maxTokens: commandMaxTokens, temperature: 1 },
248
+ /* additionalModelRequestFields: model.includes("claude") ? {
249
  thinking: { type: "adaptive" }
250
  } : undefined
251
+ */
252
  });
253
 
254
  const response = await bedrockClient.send(command, { abortSignal: abortController.signal });