Pepguy commited on
Commit
3ee837a
·
verified ·
1 Parent(s): 26bde93

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +2 -2
app.js CHANGED
@@ -1803,7 +1803,7 @@ async function callBedrock(prompt) {
1803
  inferenceConfig: {
1804
  maxTokens: 8000, //10000,
1805
  temperature: 1
1806
- },
1807
  additionalModelRequestFields: (function() {
1808
  if (model.includes("haiku")) {
1809
  return {
@@ -1819,7 +1819,7 @@ async function callBedrock(prompt) {
1819
  };
1820
  }
1821
  return undefined;
1822
- })()
1823
  });
1824
 
1825
  const t0 = Date.now();
 
1803
  inferenceConfig: {
1804
  maxTokens: 8000, //10000,
1805
  temperature: 1
1806
+ }/*,
1807
  additionalModelRequestFields: (function() {
1808
  if (model.includes("haiku")) {
1809
  return {
 
1819
  };
1820
  }
1821
  return undefined;
1822
+ })() */
1823
  });
1824
 
1825
  const t0 = Date.now();