Code
cookbook/11_models/azure/ai_foundry/tool_use.py
from agno.agent import Agent
from agno.models.azure import AzureAIFoundry
from agno.tools.hackernews import HackerNewsTools
agent = Agent(
model=AzureAIFoundry(id="Cohere-command-r-08-2024"),
tools=[HackerNewsTools()],
markdown=True,
)
agent.print_response("What is currently happening in France?", stream=True)
Was this page helpful?