arcade-mcp/arcade/tests
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
..
cli arcade chat: allow overriding host, port, TLS (#31) 2024-09-10 09:25:05 -07:00
client Client Fixes and LangGraph Examples (#50) 2024-09-24 10:13:45 -07:00
core Client Fixes and LangGraph Examples (#50) 2024-09-24 10:13:45 -07:00
sdk Tool Evalulation SDK (#35) 2024-09-19 03:36:44 -07:00
tool SDK: Fully qualified tool names (#47) 2024-09-23 15:47:36 -07:00
__init__.py Tool SDK, Schemas (#2) 2024-07-14 23:37:46 -07:00