arcade-mcp/arcade
Eric Gustin 7f13eb5efb
Fix arcade chat Auth Polling (#96)
# PR Description
When a tool call required authorization, `arcade chat` would hit rate
limits extremely quickly when waiting to authorize with a given link.
This PR introduces using long polling when sending a GET request to
Arcade API `/auth/status`. The `/auth/status` endpoint supports the
`wait` query parameter, where if present, will not respond until either
auth status becomes `completed` or `timeout` is reached. If the
`timeout` is reached, `arcade chat` catches the 408 response and tries
again. For `arcade chat` we set the `wait` query param to 60 seconds.
2024-10-07 17:24:05 -07:00
..
arcade Fix arcade chat Auth Polling (#96) 2024-10-07 17:24:05 -07:00
tests Fix arcade chat Auth Polling (#96) 2024-10-07 17:24:05 -07:00
codecov.yaml 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 SDK: Generic OAuth 2.0 connector (#81) 2024-10-03 16:40:02 -07:00
run_cli.py Add New Gmail Tools To The Google Toolkit (#41) 2024-09-19 10:18:49 -07:00
tox.ini Fix extras in pyproject.toml (#58) 2024-09-24 18:02:56 -07:00