|
|
|
@ -15,7 +15,7 @@ load_dotenv()
|
|
|
|
|
# Trading Director: Responsible for orchestrating tasks among multiple stock analysts
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
director_llm = LiteLLM(
|
|
|
|
|
model_name="gpt-4o",
|
|
|
|
|
model_name="gpt-4.1",
|
|
|
|
|
response_format=SwarmSpec,
|
|
|
|
|
system_prompt=(
|
|
|
|
|
"You are the Trading Director in charge of coordinating a team of specialized "
|
|
|
|
@ -51,7 +51,7 @@ def main():
|
|
|
|
|
# --------------------------------------------------------------------------
|
|
|
|
|
macro_agent = Agent(
|
|
|
|
|
agent_name="Macro-Economic-Analysis-Agent",
|
|
|
|
|
model_name="gpt-4o",
|
|
|
|
|
model_name="gpt-4.1",
|
|
|
|
|
max_loops=1,
|
|
|
|
|
interactive=False,
|
|
|
|
|
streaming_on=False,
|
|
|
|
@ -81,7 +81,7 @@ def main():
|
|
|
|
|
# --------------------------------------------------------------------------
|
|
|
|
|
sector_agent = Agent(
|
|
|
|
|
agent_name="Sector-Performance-Analysis-Agent",
|
|
|
|
|
model_name="gpt-4o",
|
|
|
|
|
model_name="gpt-4.1",
|
|
|
|
|
max_loops=1,
|
|
|
|
|
interactive=False,
|
|
|
|
|
streaming_on=False,
|
|
|
|
@ -113,7 +113,7 @@ def main():
|
|
|
|
|
# --------------------------------------------------------------------------
|
|
|
|
|
technical_agent = Agent(
|
|
|
|
|
agent_name="Technical-Analysis-Agent",
|
|
|
|
|
model_name="gpt-4o",
|
|
|
|
|
model_name="gpt-4.1",
|
|
|
|
|
max_loops=1,
|
|
|
|
|
interactive=False,
|
|
|
|
|
streaming_on=False,
|
|
|
|
@ -145,7 +145,7 @@ def main():
|
|
|
|
|
# --------------------------------------------------------------------------
|
|
|
|
|
risk_agent = Agent(
|
|
|
|
|
agent_name="Risk-Analysis-Agent",
|
|
|
|
|
model_name="gpt-4o",
|
|
|
|
|
model_name="gpt-4.1",
|
|
|
|
|
max_loops=1,
|
|
|
|
|
interactive=False,
|
|
|
|
|
streaming_on=False,
|
|
|
|
|