Update hierarchical_swarm_example.py

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

@ -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,

Loading…
Cancel
Save