micz / ThunderAI

ThunderAI is a Thunderbird Addon that uses the capabilities of ChatGPT or Ollama to enhance email management.
https://micz.it/thunderbird-addon-thunderai/
GNU General Public License v3.0
27 stars 7 forks source link

[ChatGPT Web] Wrong Model #176

Open kmand opened 2 days ago

kmand commented 2 days ago

I'm running the default installation of ThunderAi on Thunderbird on Ubuntu. When I try and use it Chatgpt complains and says

"You have set the option to use a specific model but it seems that it is not loading correctly. Please check the value and try again"

It does provide a button that says "Use the current model" which seems to work.

What and where should I change?

micz commented 2 days ago

Have you entered anything in this field?

immagine

If the value is not one of the allowed options, it will show an error.

Could you post the console log? (You can open the console with CTRL+SHIFT+J)

mre commented 1 day ago

Getting the same message. Tried to leave the input field empty or set it to one of the allowed values. It worked recently and I can't remember making any changes. Nothing suspicious in the logs. :/

micz commented 1 day ago

You can find here version 2.3.2_i176_v1.

Please follow this steps:

  1. Download the file thunderai-v2.3.2_i176_v1.zip
  2. Rename it from .zip to .xpi
  3. Backup your custom prompts if you have any
  4. Install this version

I've added more logs. Please, activate the debug system in the options, replicate the issue and post here the logs. Thank you!

mre commented 1 day ago

Thanks for the quick update. I've installed the update and it works again for me without any issues. The custom prompts are also still there and I didn't have to reinstall them.

[ThunderAI] Intl.Segmenter: function Segmenter() {
    [native code]
} tb115_loader.js:21:9
[ThunderAI] The GPT Model is now 4o sandbox eval code:250:17
1730240327680   addons.webextension.thunderai@micz.it   WARN    Loading extension 'thunderai@micz.it': Reading manifest: Warning processing version: version must be a version string consisting of at most 4 integers of at most 9 digits without leading zeros, and separated with dots
1730240327709   addons.webextension.thunderai@micz.it   WARN    Loading extension 'thunderai@micz.it': Reading manifest: Warning processing version: version must be a version string consisting of at most 4 integers of at most 9 digits without leading zeros, and separated with dots
sendRemoveListener on closed conduit thunderai@micz.it.137438953481 ConduitsChild.sys.mjs:122:13
1730240329940   addons.webextension.thunderai@micz.it   WARN    Loading extension 'thunderai@micz.it': Reading manifest: Warning processing version: version must be a version string consisting of at most 4 integers of at most 9 digits without leading zeros, and separated with dots
1730240329942   addons.webextension.thunderai@micz.it   WARN    Loading extension 'thunderai@micz.it': Reading manifest: Warning processing version: version must be a version string consisting of at most 4 integers of at most 9 digits without leading zeros, and separated with dots
1730240329943   addons.webextension.thunderai@micz.it   WARN    Loading extension 'thunderai@micz.it': Reading manifest: Warning processing version: version must be a version string consisting of at most 4 integers of at most 9 digits without leading zeros, and separated with dots
1730240329944   addons.webextension.thunderai@micz.it   WARN    Loading extension 'thunderai@micz.it': Reading manifest: Warning processing version: version must be a version string consisting of at most 4 integers of at most 9 digits without leading zeros, and separated with dots
1730240329946   addons.webextension.thunderai@micz.it   WARN    Loading extension 'thunderai@micz.it': Reading manifest: Warning processing version: version must be a version string consisting of at most 4 integers of at most 9 digits without leading zeros, and separated with dots
1730240329947   addons.webextension.thunderai@micz.it   WARN    Loading extension 'thunderai@micz.it': Reading manifest: Warning processing version: version must be a version string consisting of at most 4 integers of at most 9 digits without leading zeros, and separated with dots
1730240329950   addons.webextension.thunderai@micz.it   WARN    Loading extension 'thunderai@micz.it': Reading manifest: Warning processing version: version must be a version string consisting of at most 4 integers of at most 9 digits without leading zeros, and separated with dots
1730240329956   addons.webextension.thunderai@micz.it   WARN    Loading extension 'thunderai@micz.it': Reading manifest: Warning processing version: version must be a version string consisting of at most 4 integers of at most 9 digits without leading zeros, and separated with dots
[ThunderAI] Intl.Segmenter: function Segmenter() {
    [native code]
} 2 tb115_loader.js:21:9
[ThunderAI Logger | mzta-background] Shortcut [Ctrl+Alt+A] registered successfully! mzta-logger.js:35:44
[ThunderAI Logger | mzta_Menus] addMenu: prompt_classify mzta-logger.js:35:44
[ThunderAI Logger | mzta_Menus] addMenu: prompt_reply mzta-logger.js:35:44
[ThunderAI Logger | mzta_Menus] addMenu: prompt_reply_advanced mzta-logger.js:35:44
[ThunderAI Logger | mzta_Menus] addMenu: prompt_rewrite_formal mzta-logger.js:35:44
[ThunderAI Logger | mzta_Menus] addMenu: prompt_rewrite_polite mzta-logger.js:35:44
[ThunderAI Logger | mzta_Menus] addMenu: prompt_summarize_this mzta-logger.js:35:44
[ThunderAI Logger | mzta_Menus] addMenu: prompt_this mzta-logger.js:35:44
[ThunderAI Logger | mzta_Menus] addMenu: prompt_translate_this mzta-logger.js:35:44
[ThunderAI Logger | mzta_Menus] addMenu: spam mzta-logger.js:35:44
[ThunderAI Logger | mzta_Menus] addMenu: improve mzta-logger.js:35:44
[ThunderAI Logger | mzta_Menus] addMenu: promt_reply_additional mzta-logger.js:35:44
[ThunderAI Logger | mzta_Menus] Menus loaded mzta-logger.js:35:44
1730240333702   addons.webextension.thunderai@micz.it   WARN    Loading extension 'thunderai@micz.it': Reading manifest: Warning processing version: version must be a version string consisting of at most 4 integers of at most 9 digits without leading zeros, and separated with dots
1730240333704   addons.webextension.thunderai@micz.it   WARN    Loading extension 'thunderai@micz.it': Reading manifest: Warning processing version: version must be a version string consisting of at most 4 integers of at most 9 digits without leading zeros, and separated with dots
1730240333705   addons.webextension.thunderai@micz.it   WARN    Loading extension 'thunderai@micz.it': Reading manifest: Warning processing version: version must be a version string consisting of at most 4 integers of at most 9 digits without leading zeros, and separated with dots
[ThunderAI Logger | mzta-options] Options restoring chatgpt_win_height = 800 mzta-logger.js:35:44
[ThunderAI Logger | mzta-options] Options restoring chatgpt_win_width = 700 mzta-logger.js:35:44
[ThunderAI Logger | mzta-options] Options restoring default_sign_name = undefined mzta-logger.js:35:44
[ThunderAI Logger | mzta-options] Options restoring default_chatgpt_lang = mzta-logger.js:35:44
[ThunderAI Logger | mzta-options] Options restoring reply_type = undefined mzta-logger.js:35:44
[ThunderAI Logger | mzta-options] Options restoring dynamic_menu_order_alphabet = true mzta-logger.js:35:44
[ThunderAI Logger | mzta-options] Options restoring dynamic_menu_force_enter = false mzta-logger.js:35:44
[ThunderAI Logger | mzta-options] Options restoring placeholders_use_default_value = false mzta-logger.js:35:44
[ThunderAI Logger | mzta-options] Options restoring connection_type = chatgpt_web mzta-logger.js:35:44
[ThunderAI Logger | mzta-options] Options restoring chatgpt_web_model = mzta-logger.js:35:44
[ThunderAI Logger | mzta-options] Options restoring chatgpt_web_tempchat = false mzta-logger.js:35:44
[ThunderAI Logger | mzta-options] Options restoring chatgpt_api_key = **************** mzta-logger.js:35:44
[ThunderAI Logger | mzta-options] Options restoring chatgpt_model = mzta-logger.js:35:44
[ThunderAI Logger | mzta-options] Options restoring ollama_host = mzta-logger.js:35:44
[ThunderAI Logger | mzta-options] Options restoring ollama_model = mzta-logger.js:35:44
[ThunderAI Logger | mzta-options] Options restoring openai_comp_host = mzta-logger.js:35:44
[ThunderAI Logger | mzta-options] Options restoring openai_comp_use_v1 = true mzta-logger.js:35:44
[ThunderAI Logger | mzta-options] Options restoring openai_comp_api_key = **************** mzta-logger.js:35:44
[ThunderAI Logger | mzta-options] Options restoring openai_comp_model = mzta-logger.js:35:44
[ThunderAI Logger | mzta-options] Options restoring openai_comp_chat_name = OpenAI Comp mzta-logger.js:35:44
[ThunderAI Logger | mzta-options] Options restoring max_prompt_length = 30000 mzta-logger.js:35:44
[ThunderAI Logger | mzta-options] Options restoring do_debug = true mzta-logger.js:35:44
[ThunderAI Logger | mzta-background] Executing shortcut, promptId: prompt_reply mzta-logger.js:35:44
[ThunderAI Logger | mzta-background] Prompt length: 404 mzta-logger.js:35:44
[ThunderAI Logger | mzta-background] [chatgpt_web] call_opt: mzta-logger.js:35:44
[ThunderAI Logger | mzta-background] [chatgpt_web] prefs.chatgpt_win_width: 700, prefs.chatgpt_win_height: 800 mzta-logger.js:35:44
[ThunderAI Logger | mzta-background] ChatGPT web interface script started... mzta-logger.js:35:44
[ThunderAI Logger | mzta-background] prefs.chatgpt_web_model: mzta-logger.js:35:44
[ThunderAI Logger | mzta-background] _gpt_model: mzta-logger.js:35:44
[ThunderAI Logger | mzta-background] Waiting 1 sec mzta-logger.js:35:44
[ThunderAI Logger | mzta-background] Waiting 1 sec done mzta-logger.js:35:44
[ThunderAI Logger | mzta-background] [ChatGPT Web] Connection succeded! mzta-logger.js:35:44
[ThunderAI Logger | mzta-background] [ThunderAI] ChatGPT Web script injected successfully mzta-logger.js:35:44
micz commented 19 hours ago

I changed how to handle the default value. It fixed it. I'll release version 2.3.2. Thank you.