From 06bf82569de30ec63f1879981e326644955c1d4e Mon Sep 17 00:00:00 2001 From: Yijia-Xiao Date: Mon, 28 Sep 2026 20:42:01 +0000 Subject: [PATCH] docs: drop comments that describe code no longer there - agents.context no longer holds a message reset between analysts - main.py no longer ends on a reflection step it does not take --- main.py | 2 -- tests/test_alpha_vantage_hardening.py | 2 +- tradingagents/agents/context.py | 3 +-- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/main.py b/main.py index d3a13d678..105e24f0e 100644 --- a/main.py +++ b/main.py @@ -14,5 +14,3 @@ ta = TradingAgentsGraph(debug=True, config=config) # forward propagate _, decision = ta.propagate("NVDA", "2026-09-01") print(decision) - -# Memorize mistakes and reflect diff --git a/tests/test_alpha_vantage_hardening.py b/tests/test_alpha_vantage_hardening.py index d82989875..f60f0b095 100644 --- a/tests/test_alpha_vantage_hardening.py +++ b/tests/test_alpha_vantage_hardening.py @@ -102,7 +102,7 @@ def test_fundamentals_non_json_body_unchanged(monkeypatch): # --------------------------------------------------------------------------- -# Date trim (see the rationale on the unguarded trim in alpha_vantage_common) +# Date trim (see the rationale on the unguarded trim in alpha_vantage.common) # --------------------------------------------------------------------------- _DAILY_CSV = ( diff --git a/tradingagents/agents/context.py b/tradingagents/agents/context.py index 87ec7a433..c3eecafca 100644 --- a/tradingagents/agents/context.py +++ b/tradingagents/agents/context.py @@ -1,5 +1,4 @@ -"""Prompt context shared by the agents: instrument identity, output language, -portfolio, and the message reset between analysts.""" +"""Prompt context shared by the agents: instrument identity, output language and portfolio.""" import functools import logging