Skip to content

Commit

Permalink
docs: fixed docs and example (#1260)
Browse files Browse the repository at this point in the history
  • Loading branch information
Devanshusisodiya authored Feb 6, 2025
1 parent d5fcd55 commit d3d0a0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion python/plugins/agno/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ composio apps
Prepare your environment by initializing necessary imports from Agno.

```python
from agno.agent.agent import Agent
from agno.agent import Agent
```

### Step 2: Integrating GitHub Tools with Composio
Expand Down
8 changes: 3 additions & 5 deletions python/plugins/agno/agno_demo.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
from agno.agent.agent import Agent
from agno.agent import Agent
from composio_agno.toolset import Action, ComposioToolSet


toolset = ComposioToolSet()
composio_tools = toolset.get_tools(
actions=[Action.GITHUB_STAR_A_REPOSITORY_FOR_THE_AUTHENTICATED_USER]
)
composio_tools = toolset.get_tools(actions=[Action.GMAIL_GET_PROFILE])

agent = Agent(tools=composio_tools, show_tool_calls=True)

agent.print_response("Can you star ComposioHQ/composio repo?")
agent.print_response("Can you get my profile")

0 comments on commit d3d0a0d

Please sign in to comment.