From 535265c7d23fb795318cd0921e6ac9ce9895c1f5 Mon Sep 17 00:00:00 2001 From: Vera-AI Date: Thu, 26 Mar 2026 13:01:30 -0500 Subject: [PATCH] Remove OpenClaw references --- app/context_handler.py | 2 +- app/proxy_handler.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/context_handler.py b/app/context_handler.py index 8afd6d8..2c5aa62 100644 --- a/app/context_handler.py +++ b/app/context_handler.py @@ -127,7 +127,7 @@ class ContextHandler: } # === LAYER 1: System Prompt (pass through unchanged) === - # DO NOT truncate - preserve OpenClaw's system prompt entirely + # DO NOT truncate - preserve system prompt entirely system_content = "" if incoming_system: system_content = incoming_system.get("content", "") diff --git a/app/proxy_handler.py b/app/proxy_handler.py index 33bc7c3..357dd7d 100644 --- a/app/proxy_handler.py +++ b/app/proxy_handler.py @@ -23,7 +23,7 @@ def clean_message_content(content: str) -> str: if not content: return content - # Check for OpenJarvis/OpenClaw wrapper + # Check for memory context wrapper wrapper_match = re.search( r'\[Memory context\].*?- user_msg:\s*(.+?)(?:\n\n|\Z)', content, re.DOTALL