Focusing on Openai.py first. I've clean up some code and made it easier to follow
Removed the calls below. These don't do anything. Once Sublime loads the plugin, and future calls to sublime.load_settings("openAI.sublime-settings") just load from cache. If you want to get setting changes, we need to use a watcher built into sublime
global settings
plugin_loaded()
Simplified status bar logic for rendering and building message
Focusing on Openai.py first. I've clean up some code and made it easier to follow
sublime.load_settings("openAI.sublime-settings")
just load from cache. If you want to get setting changes, we need to use a watcher built into sublime