-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Cache mistral models
1 parent
8ec1a33
commit 9ee3a60
Showing
4 changed files
with
19 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
"""Run `pip install duckduckgo-search` to install dependencies.""" | ||
|
||
from agno.agent import Agent | ||
from agno.models.mistral import MistralChat | ||
from agno.tools.duckduckgo import DuckDuckGoTools | ||
|
||
agent = Agent( | ||
model=MistralChat(id="mistral-small-latest"), | ||
tools=[DuckDuckGoTools()], | ||
show_tool_calls=True, | ||
markdown=True, | ||
) | ||
agent.print_response("Whats happening in France?", stream=True) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters