Skip to content

Commit

Permalink
Minor updates and improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Ansub committed Feb 5, 2025
1 parent 3a6b0da commit 5177c7b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions cookbook/tools/todoist_tool.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
from agno.agent import Agent
from agno.models.openai import OpenAIChat
from agno.tools.todoist import TodoistTools

todoist_agent = Agent(
name="Todoist Agent",
role="Manage your todoist tasks",
instructions=[
"You can create, read, update and delete tasks in todoist.",
"You can also get the list of projects and tasks in todoist.",
],
agent_id="todoist-agent",
model=OpenAIChat(id="gpt-4o"),
tools=[TodoistTools()],
markdown=True,
debug_mode=True,
)


todoist_agent.print_response("Create a todoist task to buy groceries tomorrow at 10am")

0 comments on commit 5177c7b

Please sign in to comment.