Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /agno-agi_agno /cookbook /91_tools /linear_tools.py
| """ | |
| Linear Tools | |
| ============================= | |
| Demonstrates linear tools. | |
| """ | |
| from agno.agent import Agent | |
| from agno.tools.linear import LinearTools | |
| # --------------------------------------------------------------------------- | |
| # Create Agent | |
| # --------------------------------------------------------------------------- | |
| agent = Agent( | |
| name="Linear Tool Agent", | |
| tools=[LinearTools()], | |
| markdown=True, | |
| ) | |
| user_id = "69069" | |
| issue_id = "6969" | |
| team_id = "73" | |
| new_title = "updated title for issue" | |
| new_issue_title = "title for new issue" | |
| desc = "issue description" | |
| # --------------------------------------------------------------------------- | |
| # Run Agent | |
| # --------------------------------------------------------------------------- | |
| if __name__ == "__main__": | |
| agent.print_response("Get all the details of current user") | |
| agent.print_response(f"Show the issue with the issue id: {issue_id}") | |
| agent.print_response( | |
| f"Create a new issue with the title: {new_issue_title} with description: {desc} and team id: {team_id}" | |
| ) | |
| agent.print_response( | |
| f"Update the issue with the issue id: {issue_id} with new title: {new_title}" | |
| ) | |
| agent.print_response(f"Show all the issues assigned to user id: {user_id}") | |
| agent.print_response("Show all the high priority issues") | |
Xet Storage Details
- Size:
- 1.31 kB
- Xet hash:
- 1c965f7c8127bba97e5afaebd5dd10b5e66e346bcd0a14866b878e47a772f847
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.