From 8df223b2b6e9e80ccd03311a50b2a0a7e0c09165 Mon Sep 17 00:00:00 2001 From: Taylor Mao Date: Mon, 21 Jul 2025 20:34:58 -0400 Subject: [PATCH] Fix main local test of tradingagents/agents/utils/memory.py --- tradingagents/agents/utils/memory.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tradingagents/agents/utils/memory.py b/tradingagents/agents/utils/memory.py index 69b8ab8c..c3668161 100644 --- a/tradingagents/agents/utils/memory.py +++ b/tradingagents/agents/utils/memory.py @@ -2,7 +2,6 @@ import chromadb from chromadb.config import Settings from openai import OpenAI - class FinancialSituationMemory: def __init__(self, name, config): if config["backend_url"] == "http://localhost:11434/v1": @@ -69,7 +68,7 @@ class FinancialSituationMemory: if __name__ == "__main__": # Example usage - matcher = FinancialSituationMemory() + matcher = FinancialSituationMemory( name="test", config={"backend_url": "https://api.openai.com/v1",}) # Example data example_data = [