refactor: remove stale imports, use configurable results path (#499)

This commit is contained in:
Yijia-Xiao
2026-04-04 07:35:35 +00:00
parent bdc5fc62d3
commit bdb9c29d44
16 changed files with 15 additions and 49 deletions
+2 -3
View File
@@ -1,13 +1,12 @@
# TradingAgents/graph/reflection.py
from typing import Dict, Any
from langchain_openai import ChatOpenAI
from typing import Any, Dict
class Reflector:
"""Handles reflection on decisions and updating memory."""
def __init__(self, quick_thinking_llm: ChatOpenAI):
def __init__(self, quick_thinking_llm: Any):
"""Initialize the reflector with an LLM."""
self.quick_thinking_llm = quick_thinking_llm
self.reflection_system_prompt = self._get_reflection_prompt()