Update hs_stock_team.py

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

@ -7,16 +7,16 @@ from swarms.structs.hiearchical_swarm import (
HierarchicalSwarm,
SwarmSpec,
)
from swarms.utils.function_caller_model import OpenAIFunctionCaller
from swarms.utils.litellm_wrapper import LiteLLM
load_dotenv()
# ------------------------------------------------------------------------------
# Trading Director: Responsible for orchestrating tasks among multiple stock analysts
# ------------------------------------------------------------------------------
director_llm = OpenAIFunctionCaller(
base_model=SwarmSpec,
api_key=os.getenv("OPENAI_API_KEY"),
director_llm = LiteLLM(
model_name="gpt-4o",
response_format=SwarmSpec,
system_prompt=(
"You are the Trading Director in charge of coordinating a team of specialized "
"Stock Analysts. Your responsibilities include:\n\n"

Loading…
Cancel
Save