arcade-mcp/arcade/tests
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
..
cli arcade chat: allow overriding host, port, TLS (#31) 2024-09-10 09:25:05 -07:00
client Fix arcade chat Auth Polling (#96) 2024-10-07 17:24:05 -07:00
core Fix Github.CountStargazers and add tests (#92) 2024-10-04 16:09:08 -07:00
sdk SDK: Generic OAuth 2.0 connector (#81) 2024-10-03 16:40:02 -07:00
tool SDK: Generic OAuth 2.0 connector (#81) 2024-10-03 16:40:02 -07:00
__init__.py Tool SDK, Schemas (#2) 2024-07-14 23:37:46 -07:00