Spaces:
Sleeping
Sleeping
Update app.js
Browse files
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();
|