Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
fix(browser): remove native and hosted tools from Grok inference
rubenluetke10-beep3de4542db625
diff --git a/jarvis/agent_chat/browser_model.py b/jarvis/agent_chat/browser_model.pyindex f213310d69..04e3b23109 100644--- a/jarvis/agent_chat/browser_model.py+++ b/jarvis/agent_chat/browser_model.py@@ -60,6 +60,8 @@ class GrokBrowserModel:def command(self, directory: Path, prompt: Path, effort: str = "") -> list[str]:from jarvis.agent_chat.runner_cli import grok_argv_prefix+ # An empty Grok allowlist inherits every tool. Resolve one known tool+ # then remove it, and explicitly remove server-hosted searches too.argv = [*grok_argv_prefix(),"--no-auto-update",@@ -67,7 +69,9 @@ class GrokBrowserModel:"--cwd",str(directory),"--tools",- "",+ "read_file",+ "--disallowed-tools",+ "read_file,web_search,x_search","--deny","*","--disable-web-search",diff --git a/tests/contract/test_browser_cli_model.py b/tests/contract/test_browser_cli_model.pyindex ffb47ecee6..040c92bf06 100644--- a/tests/contract/test_browser_cli_model.py+++ b/tests/contract/test_browser_cli_model.py@@ -123,6 +123,8 @@ async def test_inference_uses_isolated_subscription_and_denies_all_tools(cli):assert "".join(d.content or "" for d in deltas) == '{"ok": true}'args, kwargs, path, text = cli.calls[0]assert args[args.index("--deny") + 1] == "*"+ assert args[args.index("--tools") + 1] == "read_file"+ assert args[args.index("--disallowed-tools") + 1] == "read_file,web_search,x_search"assert args[args.index("--permission-mode") + 1] == "dontAsk"assert "--always-approve" not in argsassert "--disable-web-search" in args and "--no-subagents" in args