Skip to content

Commit 62c3995

Browse files
committed
README
1 parent d4307c6 commit 62c3995

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

cookbook/models/anthropic/web_search.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,4 @@
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)
Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
1-
from agno.agent import Agent, RunResponse # noqa
1+
from agno.agent import Agent
22
from agno.models.ollama import Ollama
3-
from agno.tools.duckduckgo import DuckDuckGoTools
3+
from agno.tools.yfinance import YFinanceTools
44

55
agent = 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)

0 commit comments

Comments
 (0)