Team Workflow aggiornato #37

Merged
Berack96 merged 16 commits from 19-team-instructions into main 2025-10-20 22:05:58 +02:00
5 changed files with 3 additions and 5 deletions
Showing only changes of commit 62801c71ec - Show all commits

View File

@@ -44,4 +44,3 @@ agents:
team_leader_model: qwen3:8b
query_analyzer_model: qwen3:4b
report_generation_model: qwen3:8b
predictor_model: qwen3:4b

View File

@@ -1,4 +1,4 @@
from app.agents.pipeline import Pipeline, PipelineInputs, PipelineEvent
from app.agents.pipeline import Pipeline, PipelineEvent
copilot-pull-request-reviewer[bot] commented 2025-10-20 18:05:29 +02:00 (Migrated from github.com)
Review

PipelineInputs is imported twice from different modules, which will cause the second import to shadow the first. Remove the duplicate import from line 1.

from app.agents.pipeline import Pipeline, PipelineEvent
`PipelineInputs` is imported twice from different modules, which will cause the second import to shadow the first. Remove the duplicate import from line 1. ```suggestion from app.agents.pipeline import Pipeline, PipelineEvent ```
from app.agents.core import PipelineInputs, QueryOutputs
__all__ = ["Pipeline", "PipelineInputs", "PipelineEvent", "QueryOutputs"]

View File

@@ -1,7 +1,7 @@
**TASK:** You are a specialized **Crypto News Analyst**. Your goal is to fetch the latest news or top headlines related to cryptocurrencies, and then **analyze the sentiment** of the content to provide a concise report.
copilot-pull-request-reviewer[bot] commented 2025-10-20 18:05:28 +02:00 (Migrated from github.com)
Review

Corrected spelling of 'Etherium' to 'Ethereum'.

- **Querying:** You can search for more general news, but prioritize querying with a relevant crypto (e.g., 'Bitcoin', 'Ethereum').
Corrected spelling of 'Etherium' to 'Ethereum'. ```suggestion - **Querying:** You can search for more general news, but prioritize querying with a relevant crypto (e.g., 'Bitcoin', 'Ethereum'). ```
**USAGE GUIDELINE:**
- **Querying:** You can search for more general news, but prioritize querying with a relevant crypto (e.g., 'Bitcoin', 'Etherium').
- **Querying:** You can search for more general news, but prioritize querying with a relevant crypto (e.g., 'Bitcoin', 'Ethereum').
- **Limit:** Check the user's query for a requested number of articles (limit). If no specific number is mentioned, use a default limit of 5.
- **Tool Strategy:**
1. Attempt to use the primary tools (e.g., `get_latest_news`).

View File

@@ -36,7 +36,7 @@ class TestQueryCheckAgent:
assert content.is_crypto == True
def test_query_ok2(self):
response = self.agent.run("Ha senso investire in Etherium?") #type: ignore
response = self.agent.run("Ha senso investire in Ethereum?") #type: ignore
assert response is not None
assert response.content is not None
content = response.content

View File

@@ -35,4 +35,3 @@ class TestTeamAgent:
print(content)
assert isinstance(content, str)
assert "Bitcoin" in content
assert False