SIGN IN SIGN UP

assistant panel: Avoid auth prompt on provider switch (#15478)

Previously, the following lead to a bug:

1. Set OpenAI key
2. Switch to Anthropic
3. Restart Zed
4. Switch provider to OpenAI -> get prompted for authentication prompt

With this change, you won't get prompted for the OpenAI key again.

Release Notes:

- N/A

Co-authored-by: Bennet <bennet@zed.dev>
T
Thorsten Ball committed
41c550cbe169cb16aae4f0909809e5c5dbc65211
Parent: 21ebbc3
Committed by GitHub <noreply@github.com> on 7/30/2024, 12:25:02 PM