|
|
|
@ -16,7 +16,7 @@ load_dotenv()
|
|
|
|
|
# Director LLM: Responsible for orchestrating tasks among the agents
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
llm = LiteLLM(
|
|
|
|
|
model_name="gpt-4o",
|
|
|
|
|
model_name="gpt-4.1",
|
|
|
|
|
response_format=SwarmSpec,
|
|
|
|
|
system_prompt=(
|
|
|
|
|
"As the Director of this Hierarchical Agent Swarm, you are in charge of "
|
|
|
|
@ -57,7 +57,7 @@ def main():
|
|
|
|
|
# --------------------------------------------------------------------------
|
|
|
|
|
analysis_agent = Agent(
|
|
|
|
|
agent_name="Stock-Analysis-Agent",
|
|
|
|
|
model_name="gpt-4o",
|
|
|
|
|
model_name="gpt-4.1",
|
|
|
|
|
max_loops=1,
|
|
|
|
|
interactive=False,
|
|
|
|
|
streaming_on=False,
|
|
|
|
|