From b85d74a662fc9b1030b25d8cc78295764e080b2d Mon Sep 17 00:00:00 2001 From: Berack96 Date: Fri, 3 Oct 2025 16:46:10 +0200 Subject: [PATCH] Aggiorna gli agenti e il modello del team per utilizzare OLLAMA_QWEN_1B --- src/app/pipeline.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/pipeline.py b/src/app/pipeline.py index a7ae9d4..38b79de 100644 --- a/src/app/pipeline.py +++ b/src/app/pipeline.py @@ -16,24 +16,24 @@ class Pipeline: """ def __init__(self): # Inizializza gli agenti - self.market_agent = AppModels.OLLAMA_QWEN.get_agent( + self.market_agent = AppModels.OLLAMA_QWEN_1B.get_agent( instructions=MARKET_INSTRUCTIONS, name="MarketAgent", tools=[MarketAPIsTool()] ) - self.news_agent = AppModels.OLLAMA_QWEN.get_agent( + self.news_agent = AppModels.OLLAMA_QWEN_1B.get_agent( instructions=NEWS_INSTRUCTIONS, name="NewsAgent", tools=[NewsAPIsTool()] ) - self.social_agent = AppModels.OLLAMA_QWEN.get_agent( + self.social_agent = AppModels.OLLAMA_QWEN_1B.get_agent( instructions=SOCIAL_INSTRUCTIONS, name="SocialAgent", tools=[SocialAPIsTool()] ) # === 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 "Agisci come coordinatore: smista le richieste tra MarketAgent, NewsAgent e SocialAgent." )