Skip to content
Python

Merge remote-tracking branch 'upstream/main' into crypto-analysis-mvp

CadeYua2f343bb546f
diff --cc cli/utils.py
index 571f41dd7,15371400a..488da7eb9
--- a/cli/utils.py
+++ b/cli/utils.py
@@@ -1,9 -1,13 +1,13 @@@
- import questionary
+ import os
+ from pathlib import Path
from typing import List, Optional, Tuple, Dict
+ import questionary
+ from dotenv import find_dotenv, set_key
from rich.console import Console
-from cli.models import AnalystType
+from cli.models import AnalystType, AssetType
+ from tradingagents.llm_clients.api_key_env import get_api_key_env
from tradingagents.llm_clients.model_catalog import get_model_options
console = Console()
diff --cc tradingagents/agents/researchers/bear_researcher.py
index a4d88d27d,c78923eb2..0f7fe5a3c
--- a/tradingagents/agents/researchers/bear_researcher.py
+++ b/tradingagents/agents/researchers/bear_researcher.py
@@@ -34,11 -28,11 +35,11 @@@ Resources available
Market research report: {market_research_report}
Social media sentiment report: {sentiment_report}
Latest world affairs news: {news_report}
-Company fundamentals report: {fundamentals_report}
+{fundamentals_label}: {fundamentals_report}
Conversation history of the debate: {history}
Last bull argument: {current_response}
-Use this information to deliver a compelling bear argument, refute the bull's claims, and engage in a dynamic debate that demonstrates the risks and weaknesses of investing in the stock.
+Use this information to deliver a compelling bear argument, refute the bull's claims, and engage in a dynamic debate that demonstrates the risks and weaknesses of investing in the {target_label}.
- """
+ """ + get_language_instruction()
response = llm.invoke(prompt)