Spaces:
Configuration error
Configuration error
Relax deployed local model smoke timeout
Browse files
scripts/smoke_local_model_web_agent.mjs
CHANGED
|
@@ -30,7 +30,7 @@ try {
|
|
| 30 |
await page.fill("#temperature", "0");
|
| 31 |
await page.click("#run");
|
| 32 |
await page.waitForFunction(() => document.querySelector("#status")?.textContent === "Agent running", null, {
|
| 33 |
-
timeout:
|
| 34 |
});
|
| 35 |
await page.waitForFunction(() => document.querySelector("#status")?.textContent === "Ready", null, {
|
| 36 |
timeout: 600000,
|
|
@@ -58,4 +58,3 @@ try {
|
|
| 58 |
} finally {
|
| 59 |
await browser.close();
|
| 60 |
}
|
| 61 |
-
|
|
|
|
| 30 |
await page.fill("#temperature", "0");
|
| 31 |
await page.click("#run");
|
| 32 |
await page.waitForFunction(() => document.querySelector("#status")?.textContent === "Agent running", null, {
|
| 33 |
+
timeout: 120000,
|
| 34 |
});
|
| 35 |
await page.waitForFunction(() => document.querySelector("#status")?.textContent === "Ready", null, {
|
| 36 |
timeout: 600000,
|
|
|
|
| 58 |
} finally {
|
| 59 |
await browser.close();
|
| 60 |
}
|
|
|