@melaya/runner 1.1.8 → 1.1.9
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/assistantHost.py +7 -0
- package/package.json +1 -1
package/dist/assistantHost.py
CHANGED
|
@@ -465,6 +465,13 @@ def _build_agent():
|
|
|
465
465
|
_budget = int(os.environ.get("MEL_LAZY_BUDGET", "25"))
|
|
466
466
|
if phone_enabled:
|
|
467
467
|
_budget = max(_budget, 64)
|
|
468
|
+
# Same for browser: the browser_* set (nav/click/type/scroll/screen-tree/
|
|
469
|
+
# screenshot/tabs/...) is ~24 tools and must ALL stay pinned+active, or the
|
|
470
|
+
# default 25 budget spills the tail (e.g. browser_open_tab) into the lazy
|
|
471
|
+
# pool where activate_tool then fails with "budget reached". Widen so tab
|
|
472
|
+
# management + every browser action is directly callable, no search/activate.
|
|
473
|
+
if browser_enabled:
|
|
474
|
+
_budget = max(_budget, 64)
|
|
468
475
|
toolkit = build_lazy_toolkit(
|
|
469
476
|
active_categories=categories,
|
|
470
477
|
include_categories=categories + core_categories + connector_services,
|