@meistrari/chat-nuxt 3.14.2-rc.0 → 3.14.2-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useChatApi } from "../../shared/composables/chat-api.js";
|
|
2
2
|
const WAKE_POLL_INTERVAL_MS = 1500;
|
|
3
|
-
const WAKE_BUDGET_MS =
|
|
4
|
-
const WAKE_SETTLE_TIMEOUT_MS =
|
|
3
|
+
const WAKE_BUDGET_MS = 6e4;
|
|
4
|
+
const WAKE_SETTLE_TIMEOUT_MS = 65e3;
|
|
5
5
|
export async function pollAgentWake(options) {
|
|
6
6
|
const now = options.now ?? Date.now;
|
|
7
7
|
const deadline = now() + (options.budgetMs ?? WAKE_BUDGET_MS);
|