diff --git a/manifest.json b/manifest.json index c047326..19c683a 100644 --- a/manifest.json +++ b/manifest.json @@ -42,5 +42,5 @@ "manifest_version": 3, "name": "LeafLLM", "homepage_url": "https://github.com/achiyae/LeafLLM", - "version": "1.2.2" + "version": "1.2.3" } diff --git a/scripts/content.js b/scripts/content.js index 991513b..0e9a444 100644 --- a/scripts/content.js +++ b/scripts/content.js @@ -181,6 +181,8 @@ chrome.runtime.onMessage.addListener( setAPIKey(openAIAPIKey) if (openAI) { handleCommand(request.command) + } else { + error('OpenAI API key is not set, LeafLLM features are disabled.') } }) } else {