@melaya/runner 1.0.108 → 1.0.109
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 +5 -2
- package/package.json +1 -1
package/dist/assistantHost.py
CHANGED
|
@@ -421,8 +421,11 @@ def _build_agent():
|
|
|
421
421
|
# the task is finished. Give phone runs real headroom (they are HITL-gated,
|
|
422
422
|
# so each write still needs the user's tap — cost stays bounded). Connector
|
|
423
423
|
# WRITE fan-outs (1 list + N sends, each its own reasoning+HITL round) keep
|
|
424
|
-
# the 40 that fits them; read-only Q&A needs very few.
|
|
425
|
-
|
|
424
|
+
# the 40 that fits them; read-only Q&A needs very few. Phone raised + env-tunable
|
|
425
|
+
# for long-horizon tasks (100s of steps) now that per-step tokens are pruned +
|
|
426
|
+
# cached; each write is still HITL-gated so cost stays bounded.
|
|
427
|
+
max_iters=(int(os.environ.get("MEL_ASSISTANT_MAX_ITERS_PHONE", "300") or "300") if phone_enabled
|
|
428
|
+
else (40 if connector_services else 8)),
|
|
426
429
|
reliability=True,
|
|
427
430
|
bounded_memory=True,
|
|
428
431
|
)
|