-
Notifications
You must be signed in to change notification settings - Fork 153
Minimax "Request failed" unless started from the terminal #305
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working