copilot bug fix & code cleanup
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from app.agents.pipeline import Pipeline, PipelineInputs, PipelineEvent
|
||||
from app.agents.pipeline import Pipeline, PipelineEvent
|
||||
from app.agents.core import PipelineInputs, QueryOutputs
|
||||
|
||||
__all__ = ["Pipeline", "PipelineInputs", "PipelineEvent", "QueryOutputs"]
|
||||
|
||||
@@ -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.
|
||||
|
||||
**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`).
|
||||
|
||||
Reference in New Issue
Block a user