Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

fix(agents): keep Computer Use out of every Vibey prompt render

cyh53f4d3602903
diff --git a/core/system_prompt_injection.py b/core/system_prompt_injection.py
index 164c2633d..834e6860d 100644
--- a/core/system_prompt_injection.py
+++ b/core/system_prompt_injection.py
@@ -234,7 +234,8 @@ def build_system_prompt_blocks(
if include_computer_use is None:
from core.computer_use import managed_mcp_server_spec
- include_computer_use = managed_mcp_server_spec() is not None
+ # Vibey runs no MCP client, so the desktop's Computer Use server is never one of its tools.
+ include_computer_use = backend != "vibey" and managed_mcp_server_spec() is not None
if include_computer_use:
blocks.append(render_prompt_block("computer-use-prompt"))
if backend == "codex":
diff --git a/modules/agents/vibey/agent.py b/modules/agents/vibey/agent.py
index 59f7eb51b..c4aacbaa3 100644
--- a/modules/agents/vibey/agent.py
+++ b/modules/agents/vibey/agent.py
@@ -981,8 +981,6 @@ class VibeyAgent(BaseAgent):
return build_system_prompt_injection(
agent_instructions=request.vibe_agent_system_prompt or "",
backend=BACKEND,
- # Vibey runs no MCP client, so the desktop's Computer Use server is never one of its tools.
- include_computer_use=False,
include_quick_replies=getattr(self.config, "reply_enhancements", True)
and context.platform != "wechat",
context=context,