Features

CLI to programatically change settings

1y agoPending

I'm using the Custom Model feature with my company's on-prem AI API which works great! However we need to authenticate via a JWT token which expires every hour, which currently means I need to open the nested custom model settings for each of the custom models (currently 3 right now) and manually paste in the new token.

I have a way to refresh the token already in my terminal but I would like a programmatic way to set that fresh token in the settings

1 comment

  1. CJ W1y ago

    Turns out I was able to workaround this by creating a script to update the model JSON configs after learning about https://superwhisper.com/docs/get-started/backing-up-setting…

    also worth noting when updating the APIKey field with a new plain text value, you need to set `APIKeyEncrypted` to `false` or superwhisper will crash on startup

    Would still be nice to get a CLI, but definitely not a high priority