"Vibe-Trading: Your Personal Trading Agent"
Python ai-agentalgorithmic-tradingbacktestingfintechllmmcpmulti-agentpythonquantitative-financetrading
refactor: drop leftover copy import and mark the patch target
Yufeng He026deaa97a0d
diff --git a/agent/src/agent/context_compact.py b/agent/src/agent/context_compact.pyindex e7fc6ace0..9ee81bc04 100644--- a/agent/src/agent/context_compact.py+++ b/agent/src/agent/context_compact.py@@ -15,6 +15,8 @@ from typing import Any, Callable, OptionalKEEP_RECENT = 3+# Tests patch these here, not in loop.py: the collapse path reads this+# module's globals after the extraction.COLLAPSE_PRESERVE_RECENT = 6COLLAPSE_TEXT_MIN = 2400COLLAPSE_HEAD = 900diff --git a/agent/src/agent/loop.py b/agent/src/agent/loop.pyindex c6388f65e..a1de61cba 100644--- a/agent/src/agent/loop.py+++ b/agent/src/agent/loop.py@@ -15,7 +15,6 @@ from __future__ import annotationsimport concurrent.futuresimport contextvars-import copyimport jsonimport loggingimport queue