mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-14 06:17:58 +00:00
Update agno agent
This commit is contained in:
1 parent
2699b5b687
commit
be2a9c45ae
1 file changed
+10
-6
+10
-6
@@ -1,13 +1,17 @@
|
||||
from agno.agent import Agent
|
||||
from agno.models.google import Gemini
|
||||
from agno.tools.duckduckgo import DuckDuckGoTools
|
||||
from agno.playground import Playground, serve_playground_app
|
||||
|
||||
agent = Agent(
|
||||
serena_agent = Agent(
|
||||
model=Gemini(id="gemini-2.5-pro-exp-03-25"),
|
||||
description="",
|
||||
tools=[], # Add serena tools here
|
||||
description="Serena",
|
||||
tools=[], # Add serena tools here
|
||||
show_tool_calls=True,
|
||||
markdown=True,
|
||||
context=
|
||||
system_message="", # use PromptFactory
|
||||
)
|
||||
agent.print_response("Tell me about a breaking news story from New York.", stream=True)
|
||||
|
||||
app = Playground(agents=[serena_agent]).get_app()
|
||||
|
||||
if __name__ == "main":
|
||||
serve_playground_app("playground:app", reload=True)
|
||||
Reference in new issue
Block a user