@melaya/runner 1.1.12 → 1.1.13
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 -1
- package/package.json +1 -1
package/dist/assistantHost.py
CHANGED
|
@@ -621,7 +621,11 @@ def _build_agent():
|
|
|
621
621
|
toolkit=toolkit,
|
|
622
622
|
model_name=model,
|
|
623
623
|
provider=provider,
|
|
624
|
-
|
|
624
|
+
# Cloud providers on the runner path (browser control turns pinned to the
|
|
625
|
+
# runner even for a cloud model) get their key passed down from the server
|
|
626
|
+
# as MEL_ASSISTANT_PROVIDER_API_KEY. Empty for local providers (claude_code
|
|
627
|
+
# OAuth / ollama / lmstudio), where model.py resolves on-disk/localhost auth.
|
|
628
|
+
api_key=os.environ.get("MEL_ASSISTANT_PROVIDER_API_KEY", "") or "",
|
|
625
629
|
# Phone tasks that act on N items ("like + comment on 10 posts") take
|
|
626
630
|
# ~10-15 tool calls EACH (screen_tree→read→tap→type→post_comment→verify→
|
|
627
631
|
# swipe to the next), so a flat 40 capped a 10-post run at ~3 done and
|