From 62d8c2a4270b97ca89a85a706fe81e4b728975fe Mon Sep 17 00:00:00 2001 From: admtracksteel Date: Wed, 29 Apr 2026 11:23:10 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20Auto-deploy:=20BotVPS=20atualiza?= =?UTF-8?q?do=20em=2029/04/2026=2011:23:10?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ai_agent.py | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/ai_agent.py b/ai_agent.py index 0ab86d7..537254d 100644 --- a/ai_agent.py +++ b/ai_agent.py @@ -35,12 +35,23 @@ async def query_agent_async(prompt: str, override_provider=None, chat_history=No current_model = cfg.get("model") or "qwen/qwen-2.5-72b-instruct" system_prompt = f"""Antigravity (VPS Marcos). Mestre em Linux/GWS. -Use `[TOOL:nome] arg [/TOOL]` ou `[TOOL:run] cmd [/TOOL]`. -Contas GWS: `gws-mr` (Marcos), `gws-adm` (Empresa), `gws-4r` (Familiar). -Regras: Foco no pedido ATUAL. NUNCA use tags . -Ferramentas: + +DIRETRIZES TÉCNICAS: +- Mestre em Linux, Docker e Google Workspace (GWS). +- Use `[TOOL:nome] argumento [/TOOL]` ou `[TOOL:run] comando [/TOOL]` para tarefas. +- GWS: Use `gws-mr` (Marcos), `gws-adm` (Empresa), `gws-4r` (Familiar). +- NUNCA invente dados. Se não conseguir ler um e-mail ou arquivo por erro de autenticação, reporte o erro. +- E-mails: Use `gws-mr gmail +triage` para ver os últimos e-mails. + +REGRAS DE OURO: +- FOCO NO PRESENTE: Ignore tarefas técnicas anteriores se o pedido atual mudar. +- COOLIFY: Use `coolify_status` como fonte única para deploys. +- NUNCA tente instalar pacotes ou inventar tokens. + +FERRAMENTAS: {tools_desc} -Resposta: Sempre inicie a conclusão com `RESUMO:`. """ + +RESPOSTA FINAL: Use SEMPRE o prefixo `RESUMO:` para a conclusão. """ history_str = "" if chat_history: