arcade-mcp/arcade
Sam Partee 2eb46a3a98
Client Fixes and LangGraph Examples (#50)
This PR includes several improvements to the Arcade client and adds
LangGraph examples:

1. Enhanced error handling in the Arcade client:
   - Improved HTTP error handling in `BaseArcadeClient`
- Simplified request methods in `SyncArcadeClient` and
`AsyncArcadeClient`

2. Updated `ToolResource` class:
   - Changed base path from `/v1/tool` to `/v1/tools`
   - Added `tool_version` parameter to `authorize` method

3. Improved Toolkit discovery:
- Updated `find_all_arcade_toolkits` to search only in the current
Python interpreter's site-packages

5. Added LangGraph examples:
   - New `langgraph_auth.py` example demonstrating Gmail authentication
- New `langgraph_with_tool_exec.py` example showing tool execution
within a LangGraph

6. Minor updates:
   - Changed default `BASE_URL` to `https://api.arcade.com/`
   - Updated import error message for eval dependencies

---------

Co-authored-by: Nate Barbettini <nate@arcade-ai.com>
2024-09-24 10:13:45 -07:00
..
arcade Client Fixes and LangGraph Examples (#50) 2024-09-24 10:13:45 -07:00
docs Introduce arcade run and arcade chat Commands (#15) 2024-08-19 16:17:38 -07:00
tests Client Fixes and LangGraph Examples (#50) 2024-09-24 10:13:45 -07:00
codecov.yaml Tool SDK, Schemas (#2) 2024-07-14 23:37:46 -07:00
mkdocs.yml Tool SDK, Schemas (#2) 2024-07-14 23:37:46 -07:00
poetry.toml Dockerfiles for Actor container (#18) 2024-08-22 16:28:42 -07:00
pyproject.toml Client Fixes and LangGraph Examples (#50) 2024-09-24 10:13:45 -07:00
run_cli.py Add New Gmail Tools To The Google Toolkit (#41) 2024-09-19 10:18:49 -07:00
tox.ini CI pipeline (#4) 2024-07-16 17:36:32 -07:00