Aggiorna gli agenti e il modello del team per utilizzare OLLAMA_QWEN_1B
This commit is contained in:
@@ -16,24 +16,24 @@ class Pipeline:
|
|||||||
"""
|
"""
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
# Inizializza gli agenti
|
# Inizializza gli agenti
|
||||||
self.market_agent = AppModels.OLLAMA_QWEN.get_agent(
|
self.market_agent = AppModels.OLLAMA_QWEN_1B.get_agent(
|
||||||
instructions=MARKET_INSTRUCTIONS,
|
instructions=MARKET_INSTRUCTIONS,
|
||||||
name="MarketAgent",
|
name="MarketAgent",
|
||||||
tools=[MarketAPIsTool()]
|
tools=[MarketAPIsTool()]
|
||||||
)
|
)
|
||||||
self.news_agent = AppModels.OLLAMA_QWEN.get_agent(
|
self.news_agent = AppModels.OLLAMA_QWEN_1B.get_agent(
|
||||||
instructions=NEWS_INSTRUCTIONS,
|
instructions=NEWS_INSTRUCTIONS,
|
||||||
name="NewsAgent",
|
name="NewsAgent",
|
||||||
tools=[NewsAPIsTool()]
|
tools=[NewsAPIsTool()]
|
||||||
)
|
)
|
||||||
self.social_agent = AppModels.OLLAMA_QWEN.get_agent(
|
self.social_agent = AppModels.OLLAMA_QWEN_1B.get_agent(
|
||||||
instructions=SOCIAL_INSTRUCTIONS,
|
instructions=SOCIAL_INSTRUCTIONS,
|
||||||
name="SocialAgent",
|
name="SocialAgent",
|
||||||
tools=[SocialAPIsTool()]
|
tools=[SocialAPIsTool()]
|
||||||
)
|
)
|
||||||
|
|
||||||
# === Modello di orchestrazione del Team ===
|
# === Modello di orchestrazione del Team ===
|
||||||
team_model = AppModels.OLLAMA_QWEN.get_model(
|
team_model = AppModels.OLLAMA_QWEN_1B.get_model(
|
||||||
# TODO: migliorare le istruzioni del team
|
# TODO: migliorare le istruzioni del team
|
||||||
"Agisci come coordinatore: smista le richieste tra MarketAgent, NewsAgent e SocialAgent."
|
"Agisci come coordinatore: smista le richieste tra MarketAgent, NewsAgent e SocialAgent."
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user