language_model: Clear the LlmApiToken first on org switch (#51826)

When we switch organizations, we try and refresh the token. If the token
refresh fails, we are left with the old LlmApiToken, which is for the
wrong organization. In this commit, we make sure to clear the old token
before trying a refresh on organization switch.

Release Notes:

- N/A

---------

Co-authored-by: Neel <neel@zed.dev>
a30e4d5228Tom Houlé committed on 3/19/2026, 10:09:55 AM· committed by GitHubparent8909ede
1 file changedLine totals unavailable