Open Thomascountz opened 3 months ago
Reminiscent of:
~I was not able to reproduce. When I clicked Reset Key
the key was correctly removed from Keychain Access.~
Update: I was able to partially reproduce. In the past I clicked "Always Allow" to the prompt from each of the Zed channels (Stable, Preview, Nightly) and pressing "Reset Key" would remove the keychain entry as expected. Using Always
and toggling between Zed channels will trigger the behavior.
Steps to reproduce:
You will see the Keychain item is still present and the [ERROR] delete password failed: -25300
in your logs.
Workaround: You should be able to open Keychain Access and manually delete it.
Thank you @notpeter! The workaround works; Zed is now using my environment variable.
Check for existing issues
Describe the bug / provide steps to reproduce it
I have previously configured my OpenAI key using a previous version of Zed before #15490, but that key has since expired. I also have a
OPENAI_API_KEY
envvar set with a valid key, though Zed is using the originally configured (now expired) key.[ERROR] delete password failed: -25300
Environment
Zed: v0.149.0 (Zed Preview) AND Zed: v0.148.0 (Zed) OS: macOS 14.5.0 Memory: 32 GiB Architecture: x86_64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log