mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-20 15:40:29 +01:00
097cfae77e
This PR adds a new `needs_llm_token_refresh` helper method for checking if the LLM token needs to be refreshed. We were duplicating the check for the `x-zed-expired-token` header in a number of spots, and it will be gaining an additional case soon. Release Notes: - N/A