# 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. |
||
|---|---|---|
| .. | ||
| arcade | ||
| tests | ||
| codecov.yaml | ||
| poetry.toml | ||
| pyproject.toml | ||
| run_cli.py | ||
| tox.ini | ||