Buggy interaction of Env variable and disabled API Key

Bug
Here’s my setup - I have a dev server which does not need auth, and a staging serving which takes API Key. I’ve set up a variable for the API key in the “staging” environment and use it in workspace settings for API key.
When I switch to the “dev” environment, any request correctly errors on the API key variable not being available.
At this point, I disable the API key in the workspace settings and expect requests to work, as this is simplest way to switch between the two environments (I’ll enable it again when I switch to the staging environment)
Instead, requests still complain about the missing API key variable.
Workin’ on a solution for this!
https://yaak.app/blog/2025.9.0-beta.10
This is a better solution than what I had in mind, thank you!
https://yaak.app/blog/2025.9.0