File tree Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 1515 markdown = True ,
1616)
1717
18- agent .print_response (
19- "What's the latest with Anthropic?" , stream = True
20- )
18+ agent .print_response ("What's the latest with Anthropic?" , stream = True )
Original file line number Diff line number Diff line change 1- from agno .agent import Agent , RunResponse # noqa
1+ from agno .agent import Agent
22from agno .models .ollama import Ollama
3- from agno .tools .duckduckgo import DuckDuckGoTools
3+ from agno .tools .yfinance import YFinanceTools
44
55agent = Agent (
6- model = Ollama (id = "qwen2.5:latest " ), tools = [DuckDuckGoTools ()], markdown = True
6+ model = Ollama (id = "qwen3:8b" ),
7+ tools = [
8+ YFinanceTools (
9+ stock_price = True ,
10+ analyst_recommendations = True ,
11+ company_info = True ,
12+ company_news = True ,
13+ ),
14+ ],
15+ instructions = "Use tables to display data." ,
716)
817
9- # Print the response in the terminal
10- agent .print_response ("What is happening in France?" )
18+ agent .print_response ("Write a report on NVDA" , stream = True , markdown = True )
You can’t perform that action at this time.
0 commit comments