Update hs_stock_team.py

pull/1101/head
CI-DEV 1 week ago committed by GitHub
parent b957864b47
commit 33661ea132
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save