Description
If OpenUsage is run from e.g. Spotlight, Minimax requests always fail ("Check your network connection" - which is working).
When I open -a OpenUsage from iTerm (zsh), the environment block containing MINIMAX_API_KEY is inherited to OpenUsage and there are no errors.
I've had a look at the code and it seems in my case /bin/zsh -ilc 'printenv MINIMAX_API_KEY' will be executed at some point:
agross@firiel ~
$ echo $MINIMAX_API_KEY
agross@firiel ~
$ /bin/zsh -ilc 'printenv MINIMAX_API_KEY'
sk-cp-miEs...
Steps to Reproduce
- Open OpenUsage from Spotlight
Expected Behavior
It should work in both cases.
Actual Behavior
Check your network.
OpenUsage Version
0.6.10
Operating System
macOS (Apple Silicon)
Screenshots
Additional Context
No response
Description
If OpenUsage is run from e.g. Spotlight, Minimax requests always fail ("Check your network connection" - which is working).
When I
open -a OpenUsagefrom iTerm (zsh), the environment block containingMINIMAX_API_KEYis inherited to OpenUsage and there are no errors.I've had a look at the code and it seems in my case
/bin/zsh -ilc 'printenv MINIMAX_API_KEY'will be executed at some point:Steps to Reproduce
Expected Behavior
It should work in both cases.
Actual Behavior
Check your network.
OpenUsage Version
0.6.10
Operating System
macOS (Apple Silicon)
Screenshots
Additional Context
No response